openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #06569
Re: [Merge] lp:~savoirfairelinux-openerp/knowledge-addons/cmis_read into lp:knowledge-addons/7.0
Review: Needs Fixing
l.471 Still severe bug and injection potential
Try:
filename = "sql%' OR '1' = '1' OR '%injection"
CMIS must provide a code escape function, otherwise use OpenERP's. It is important that you don't do this manually.
https://en.wikipedia.org/wiki/Sql_injection
There are also no unittests. The previous example would be a good thing to test.
--
https://code.launchpad.net/~savoirfairelinux-openerp/knowledge-addons/cmis_read/+merge/212260
Your team OpenERP Community Reviewer/Maintainer is subscribed to branch lp:knowledge-addons/7.0.
References