SecurityContext

CVE-2021-24253: Classyfrieds WordPress - Unrestricted File Upload

  • Cve: CVE-2021-24253
  • Name: Classyfrieds WordPress - Unrestricted File Upload
  • Description: The Classyfrieds WordPress plugin through 3.8 does not properly check the uploaded file when an authenticated user adds a listing, only checking the content-type in the request. This allows any authenticated user to upload arbitrary PHP files via the Add Listing feature of the plugin, leading to RCE.
  • Impact: Authenticated users can upload PHP files leading to remote code execution, potentially compromising the entire server.
  • Remediation: Implement strict file validation and update to the latest plugin version.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker must be an authenticated user
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01906
  • Epss percentile: 0.80288
  • Assignee: [email protected]
  • Published at: 2021-05-06T13:15:11Z
  • Age in days: 2028
  • Modified at: 2026-06-17T03:39:42Z
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24253
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

Public exploits

UrlSourceAdded date
https://github.com/jinhuang1102/CVE-ID-Reports/blob/master/classyfrieds.mdnvd2021-05-06
https://wpscan.com/vulnerability/ee42c233-0ff6-4b27-a5ec-ad3246bef079nvd2021-05-06

References

UrlSourceTags
https://github.com/jinhuang1102/CVE-ID-Reports/blob/master/classyfrieds.mdnvdExploit, Third Party Advisory
https://wpscan.com/vulnerability/ee42c233-0ff6-4b27-a5ec-ad3246bef079nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
classyfrieds_project:classyfrieds<= 3.8nonvd/v1/products/classyfrieds_project/classyfrieds

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-05-06
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts