Description
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.
Exploits (1)
exploitdb
WORKING POC
by High-Tech Bridge SA · textwebappsphp
https://www.exploit-db.com/exploits/37707
References (6)
Core 6
Core References
Third Party Advisory x_refsource_misc
https://www.htbridge.com/advisory/HTB23267
Third Party Advisory, VDB Entry x_refsource_misc
http://packetstormsecurity.com/files/132811/WordPress-Count-Per-Day-3.4-SQL-Injection.html
Issue Tracking x_refsource_confirm
https://plugins.trac.wordpress.org/changeset/1190683/count-per-day
Third Party Advisory, VDB Entry exploit
x_refsource_exploit-db
https://www.exploit-db.com/exploits/37707/
Third Party Advisory x_refsource_misc
https://wpvulndb.com/vulnerabilities/8110
Third Party Advisory, VDB Entry mailing-list
x_refsource_bugtraq
http://www.securityfocus.com/archive/1/536056/100/0/threaded
Scores
CVSS v3
7.2
EPSS
0.0952
EPSS Percentile
92.9%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-89
Status
published
Products (1)
count_per_day_project/count_per_day
< 3.4
Published
Oct 23, 2017
Tracked Since
Feb 18, 2026