MyBatis PageHelper v1.x.x-v3.7.0 v4.0.0-v5.0.0,v5.1.0-v5.3.0 was discovered to contain a time-blind SQL injection vulnerability via the orderBy parameter.
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://www.cnblogs.com/secload/articles/16061420.html | third party advisory exploit |
https://pagehelper.github.io/ | product third party advisory |
https://github.com/pagehelper/Mybatis-PageHelper | product third party advisory |
https://github.com/pagehelper/Mybatis-PageHelper.git | product third party advisory |
https://github.com/pagehelper/Mybatis-PageHelper/issues/674 | third party advisory |
https://github.com/yangfar/CVE/blob/main/CVE-2022-42227.md | third party advisory exploit |