{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-24966 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-24966 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-24966 is a medium-severity path traversal vulnerability in Unknown Error Log Viewer by BestWebSoft, published on 14 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-24966 and fix it if it is affected.\n\nWhat it is: CVE-2021-24966 is a medium-severity path traversal vulnerability in Unknown Error Log Viewer by BestWebSoft, published on 14 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-24966 in the wild and no public exploit code.\n\nAffected product: Unknown Error Log Viewer by BestWebSoft. 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-24966/ (Markdown: https://insights.sbomify.com/CVE-2021-24966/index.md)","id":"CVE-2021-24966","markdown":"https://insights.sbomify.com/CVE-2021-24966/index.md","name":"CVE-2021-24966","record":{"aliases":["GHSA-6x4q-qqxj-h82w"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"high_privilege","summary":"High-privilege users can clear arbitrary files on the web server due to lack of path validation in the Error Log Viewer plugin.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"WPScan","cpe":[{"product":"error_log_viewer","vendor":"bestwebsoft"}],"cvss":{"score":4.9,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"description":"The Error Log Viewer WordPress plugin through 1.1.1 does not validate the path of the log file to clear, allowing high privilege users to clear arbitrary files on the web server, including those outside of the blog folder","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2022-02-16","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-02-16","kind":"exploitdb","ref":"50746","stars":null,"title":"WordPress Plugin Error Log Viewer 1.1.1 - Arbitrary File Clearing (Authenticated)"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Error Log Viewer Plugin \u003c= 1.1.1 - Admin+ Arbitrary File Clearing","id":"CVE-2021-24966","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Contact Form \u0026 Lead Form Elementor Builder \u003c 1.6.4 - Unauthenticated Stored Cross-Site Scripting","id":"CVE-2021-24967"},"packages":[],"prev":{"headline":"Five Star Restaurant Reservations \u003c 2.4.8 - Subscriber+ Stored Cross-Site Scripting","id":"CVE-2021-24965"},"products":["Error Log Viewer by BestWebSoft"],"published":"2022-03-14","related":[{"cvss_score":6.5,"headline":"Error Log Viewer \u003c 1.1.3 - Directory Listing to Sensitive Data Exposure","id":"CVE-2023-6821","kev_date_added":null,"published":"2024-03-18"},{"cvss_score":6.5,"headline":"Error Log Viewer \u003c 1.1.2 - Arbitrary Text File Deletion via CSRF","id":"CVE-2021-24761","kev_date_added":null,"published":"2022-02-01"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2017-18562","kev_date_added":null,"published":"2019-08-21"}],"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Unknown"]},"summary":"High-privilege users can clear arbitrary files on the web server due to lack of path validation in the Error Log Viewer plugin.","url":"https://insights.sbomify.com/CVE-2021-24966/"}