A SQL Injection vulnerability in get_topic_info() in sys/CODOF/Forum/Topic.php in Codoforum before 4.9 allows remote attackers (pre-authentication) to bypass the admin page via a leaked password-reset token of the admin. (As an admin, an attacker can upload a PHP shell and execute remote code on the operating system.)
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://community.sonarsource.com/c/announce/stories/23 | third party advisory |
https://github.com/SmashITs | third party advisory |
http://codologic.com/forum/ | vendor advisory |
https://community.sonarsource.com/t/codoforum-4-8-7-critical-code-vulnerabilities-explained/28297 | third party advisory exploit |
https://blog.sonarsource.com/codoforum-4.8.7-critical-code-vulnerabilities-explained | third party advisory exploit |
https://twitter.com/sonarsource/status/1300818196090384384 | third party advisory exploit |