Arbitrary file upload in Accesspressthemes Anonymous Post Pro

CVE-2017-16949

An issue was discovered in the AccessKeys AccessPress Anonymous Post Pro plugin through 3.1.9 for WordPress. Improper input sanitization allows the attacker to override the settings for allowed file extensions and upload file size, related to inc/cores/file-uploader.php and file-uploader/file-uploader-class.php. This allows the attacker to upload anything they want to the server, as demonstrated by an action=ap_file_upload_action&allowedExtensions[]=php request to /wp-admin/admin-ajax.php that results in a .php file upload and resultant PHP code execution.

Vulnerability class: Unrestricted File Upload

EPSS: 0.192 (97.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Exploit, VDB Entry, Third Party Advisory, exploit, x_refsource_EXPLOIT-DB)
  • cve@mitre.org (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2017-16949?
CVE-2017-16949 is a critical-severity vulnerability in Accesspressthemes Anonymous Post Pro, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2017-12-19.
How severe is CVE-2017-16949?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2017-16949 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.