The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the field and value parameters, as demonstrated by api/get-organizations.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://github.com/casdoor/casdoor/issues/439 | issue tracking patch exploit third party advisory |
https://github.com/casdoor/casdoor/pull/442 | exploit third party advisory patch |
https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1 | third party advisory release notes |
http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html | exploit vdb entry third party advisory |