{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24786 exists.","fix":"No fix has been published for CVE-2021-24786 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24786 is a high-severity SQL injection vulnerability in Unknown Download Monitor, published on 3 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-24786 and fix it if it is affected.\n\nWhat it is: CVE-2021-24786 is a high-severity SQL injection vulnerability in Unknown Download Monitor, published on 3 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24786 exists.\n\nAffected product: Unknown Download Monitor. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-24786/ (Markdown: https://insights.sbomify.com/CVE-2021-24786/index.md)","id":"CVE-2021-24786","markdown":"https://insights.sbomify.com/CVE-2021-24786/index.md","name":"CVE-2021-24786","record":{"aliases":["GHSA-xgj6-2p43-6fvx"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"high_privilege","summary":"An authenticated admin can exploit SQL injection in the Download Monitor plugin to read or modify database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"download_monitor","vendor":"wpchill"}],"cvss":{"score":7.2,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The Download Monitor WordPress plugin before 4.4.5 does not properly validate and escape the \"orderby\" GET parameter before using it in a SQL statement when viewing the logs, leading to an SQL Injection issue","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2022-02-02","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":"2022-02-02","kind":"exploitdb","ref":"50695","stars":null,"title":"Wordpress Plugin Download Monitor WordPress V 4.4.4 - SQL Injection (Authenticated)"},{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-24786.yaml","stars":null,"title":"Download Monitor \u003c 4.4.5 - SQL Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"Download Monitor \u003c 4.4.5 - Admin+ SQL Injection","id":"CVE-2021-24786","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Client Invoicing by Sprout Invoices \u003c 19.9.7 - Admin+ Stored Cross-Site Scripting","id":"CVE-2021-24787"},"packages":[],"prev":{"headline":"Great Quotes \u003c= 1.0.0 - Admin+ Stored Cross-Site Scripting","id":"CVE-2021-24785"},"products":["Download Monitor"],"published":"2022-01-03","related":[{"cvss_score":9.9,"headline":"WordPress Download Monitor Plugin \u003c= 4.8.3 is vulnerable to Arbitrary File Upload","id":"CVE-2023-34007","kev_date_added":null,"published":"2023-12-20"},{"cvss_score":7.6,"headline":"WordPress Download Monitor theme \u003c= 4.9.4 - Auth. SQL Injection vulnerability","id":"CVE-2024-30501","kev_date_added":null,"published":"2024-03-29"},{"cvss_score":7.5,"headline":"Download Monitor \u003c= 4.7.51 - Missing Authorization to Unauthenticated Data Export","id":"CVE-2022-4972","kev_date_added":null,"published":"2024-10-16"},{"cvss_score":6.8,"headline":"WordPress Download Monitor plugin \u003c= 4.4.6 - Authenticated Arbitrary File Download vulnerability","id":"CVE-2021-31567","kev_date_added":null,"published":"2022-01-28"},{"cvss_score":5.3,"headline":"WordPress Download Monitor Plugin \u003c= 4.7.60 is vulnerable to Sensitive Data Exposure","id":"CVE-2022-45354","kev_date_added":null,"published":"2024-01-08"},{"cvss_score":4.9,"headline":"Download Monitor \u003c 4.5.98 - Admin+ Arbitrary File Download","id":"CVE-2022-2981","kev_date_added":null,"published":"2022-10-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-22","vendors":["Unknown"]},"summary":"An authenticated admin can exploit SQL injection in the Download Monitor plugin to read or modify database contents.","url":"https://insights.sbomify.com/CVE-2021-24786/"}