SQL injection vulnerability in counter-options.php in the Count Per Day plugin before 3.4.1 for WordPress allows remote authenticated administrators to execute arbitrary SQL commands via the cpd_keep_month parameter to wp-admin/options-general.php. NOTE: this can be leveraged using CSRF to allow remote attackers to execute arbitrary SQL commands.
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.htbridge.com/advisory/HTB23267 | third party advisory |
http://packetstormsecurity.com/files/132811/WordPress-Count-Per-Day-3.4-SQL-Injection.html | vdb entry third party advisory |
https://plugins.trac.wordpress.org/changeset/1190683/count-per-day | issue tracking |
https://www.exploit-db.com/exploits/37707/ | exploit vdb entry third party advisory |
https://wpvulndb.com/vulnerabilities/8110 | third party advisory |
http://www.securityfocus.com/archive/1/536056/100/0/threaded | mailing list |