{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-7246 exists.","fix":"No fix has been published for CVE-2020-7246 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-7246 is a high-severity vulnerability in n/a, published on 21 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-7246 and fix it if it is affected.\n\nWhat it is: CVE-2020-7246 is a high-severity vulnerability in n/a, published on 21 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-7246 exists.\n\nAffected product: n/a. 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-2020-7246/ (Markdown: https://insights.sbomify.com/CVE-2020-7246/index.md)","id":"CVE-2020-7246","markdown":"https://insights.sbomify.com/CVE-2020-7246/index.md","name":"CVE-2020-7246","record":{"aliases":["GHSA-c89p-wjj4-mr4g"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"qdPM project management","requires_auth":"low_privilege","summary":"Attackers can upload malicious PHP files via profile photos to execute remote code, bypassing access controls in qdPM.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"qdpm","vendor":"qdpm"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A remote code execution (RCE) vulnerability exists in qdPM 9.1 and earlier. An attacker can upload a malicious PHP code file via the profile photo functionality, by leveraging a path traversal vulnerability in the users['photop_preview'] delete photo feature, allowing bypass of .htaccess protection. NOTE: this issue exists because of an incomplete fix for CVE-2015-3884.","ecosystems":[],"exploits":{"exploitdb":4,"first_seen":"2020-01-23","github_poc":3,"max_poc_stars":1,"metasploit":1,"nuclei":0,"refs":[{"date":"2022-09-16T10:36:19Z","kind":"github_poc","ref":"https://github.com/pswalia2u/CVE-2020-7246","stars":1,"title":null},{"date":"2020-01-23","kind":"exploitdb","ref":"47954","stars":null,"title":"qdPM 9.1 - Remote Code Execution"},{"date":"2020-02-28","kind":"exploitdb","ref":"48146","stars":null,"title":"qdPM \u003c 9.1 - Remote Code Execution"},{"date":"2020-11-21","kind":"metasploit","ref":"exploit/multi/http/qdpm_authenticated_rce","stars":null,"title":"qdPM 9.1 Authenticated Arbitrary PHP File Upload (RCE)"},{"date":"2020-12-05T04:37:17Z","kind":"github_poc","ref":"https://github.com/j0hn30n/CVE-2020-7246","stars":0,"title":"[qdPM \u003c 9.1 - Remote Code Execution](https://www.exploit-db.com/exploits/48146)"},{"date":"2021-08-04","kind":"exploitdb","ref":"50175","stars":null,"title":"qdPM 9.1 - Remote Code Execution (Authenticated)"},{"date":"2022-05-25","kind":"exploitdb","ref":"50944","stars":null,"title":"qdPM 9.1 - Remote Code Execution (RCE) (Authenticated) (v2)"},{"date":"2022-08-27T19:47:23Z","kind":"github_poc","ref":"https://github.com/arafatansari/SecAssignment","stars":0,"title":"A Docker image vulnerable to CVE-2020-7246."}],"tier":"weaponised"},"has_fix":null,"headline":"File upload in n/a","id":"CVE-2020-7246","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2020"},"n_packages":0,"n_references":5,"next":{"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247"},"packages":[],"prev":{"headline":"Business logic in n/a","id":"CVE-2020-7245"},"products":["n/a"],"published":"2020-01-21","related":[{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2023-45856","kev_date_added":null,"published":"2023-10-14"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2020-11811","kev_date_added":null,"published":"2020-04-16"},{"cvss_score":8.8,"headline":"qdPM 9.1 SQL Injection via search_by_extrafields Parameter","id":"CVE-2019-25669","kev_date_added":null,"published":"2026-04-05"},{"cvss_score":8.8,"headline":"qdPM 9.1 SQL Injection via filter_by Parameters","id":"CVE-2018-25208","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2022-26180","kev_date_added":null,"published":"2022-04-08"},{"cvss_score":8.8,"headline":"Deserialization in n/a","id":"CVE-2020-26165","kev_date_added":null,"published":"2020-12-31"}],"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":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can upload malicious PHP files via profile photos to execute remote code, bypassing access controls in qdPM.","url":"https://insights.sbomify.com/CVE-2020-7246/"}