{"answers":{"affected":"3 open source packages ship an affected version, including moin. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-6081 exists.","fix":"Upgrade moin to 1.9.6 or later.","what":"CVE-2012-6081 is a medium-severity vulnerability in n/a, published on 3 Jan 2013. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-6081 and fix it if it is affected.\n\nWhat it is: CVE-2012-6081 is a medium-severity vulnerability in n/a, published on 3 Jan 2013. 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-2012-6081 exists.\n\nAffected packages and fixed versions:\n- moin (PyPI): affected all versions; fixed in 1.9.6\n- moin (PyPI): affected all versions; fixed in 1.9.6\n- moin (PyPI): affected all versions; fixed in 1.9.6\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-2012-6081/ (Markdown: https://insights.sbomify.com/CVE-2012-6081/index.md)","id":"CVE-2012-6081","markdown":"https://insights.sbomify.com/CVE-2012-6081/index.md","name":"CVE-2012-6081","record":{"aliases":["GHSA-m2c4-jgmm-fvq3","PYSEC-2013-6"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MoinMoin Wiki","requires_auth":"low_privilege","summary":"Authenticated users with write permissions can upload executable files to the MoinMoin wiki, leading to arbitrary code execution on the server.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"moinmoin","vendor":"moinmo"}],"cvss":{"score":6,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Multiple unrestricted file upload vulnerabilities in the (1) twikidraw (action/twikidraw.py) and (2) anywikidraw (action/anywikidraw.py) actions in MoinMoin before 1.9.6 allow remote authenticated users with write permissions to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in an unspecified directory, as exploited in the wild in July 2012.","ecosystems":["PyPI"],"exploits":{"exploitdb":2,"first_seen":"2012-12-30","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2012-12-30","kind":"metasploit","ref":"exploit/unix/webapp/moinmoin_twikidraw","stars":null,"title":"MoinMoin twikidraw Action Traversal File Upload"},{"date":"2013-05-08","kind":"exploitdb","ref":"25304","stars":null,"title":"MoinMoin - Arbitrary Command Execution"},{"date":"2013-06-24","kind":"exploitdb","ref":"26422","stars":null,"title":"MoinMoin - twikidraw Action Traversal Arbitrary File Upload (Metasploit)"}],"tier":"weaponised"},"has_fix":true,"headline":"MoinMoin Multiple unrestricted file upload vulnerabilities","id":"CVE-2012-6081","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"file_upload","year":"2012"},"n_packages":3,"n_references":13,"next":{"headline":"MoinMoin Cross-site scripting (XSS) vulnerability","id":"CVE-2012-6082"},"packages":[{"ecosystem":"PyPI","fixed":["1.9.6"],"introduced":["0"],"last_affected":[],"package":"moin","purl":null,"source":"GHSA-m2c4-jgmm-fvq3"},{"ecosystem":"PyPI","fixed":["1.9.6"],"introduced":["0"],"last_affected":[],"package":"moin","purl":"pkg:pypi/moin","source":"GHSA-m2c4-jgmm-fvq3"},{"ecosystem":"PyPI","fixed":["1.9.6"],"introduced":["0"],"last_affected":[],"package":"moin","purl":"pkg:pypi/moin","source":"PYSEC-2013-6"}],"prev":{"headline":"MoinMoin Directory Traversal vulnerability","id":"CVE-2012-6080"},"products":["n/a"],"published":"2013-01-03","related":[{"cvss_score":8.7,"headline":"malicious SVG attachment causing stored XSS vulnerability in MoinMoin","id":"CVE-2020-15275","kev_date_added":null,"published":"2020-11-11"},{"cvss_score":7.5,"headline":"MoinMoin Improper Access Control vulnerability","id":"CVE-2009-4762","kev_date_added":null,"published":"2010-03-29"},{"cvss_score":7.5,"headline":"MoinMoin improper sanitizes user profiles","id":"CVE-2010-0669","kev_date_added":null,"published":"2010-02-26"},{"cvss_score":7.5,"headline":"MoinMoin has improper default configuration","id":"CVE-2010-0717","kev_date_added":null,"published":"2010-02-26"},{"cvss_score":6.8,"headline":"MoinMoin has multiple vulnerabilities related to superuser list, xmlrpc and OpenID configuration","id":"CVE-2010-0668","kev_date_added":null,"published":"2010-02-26"},{"cvss_score":6.8,"headline":"MoinMoin Access Restrictions Bypassed due to improper ACL enforcement","id":"CVE-2008-6603","kev_date_added":null,"published":"2009-04-03"},{"cvss_score":6.4,"headline":"MoinMoin Directory Traversal vulnerability","id":"CVE-2012-6080","kev_date_added":null,"published":"2013-01-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Authenticated users with write permissions can upload executable files to the MoinMoin wiki, leading to arbitrary code execution on the server.","url":"https://insights.sbomify.com/CVE-2012-6081/"}