{"answers":{"affected":"3 open source packages ship an affected version, including web2py. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22432 exists.","fix":"Upgrade web2py to 2.23.1 or later.","what":"CVE-2023-22432 is a medium-severity vulnerability in web2py, published on 5 Mar 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-22432 and fix it if it is affected.\n\nWhat it is: CVE-2023-22432 is a medium-severity vulnerability in web2py, published on 5 Mar 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22432 exists.\n\nAffected packages and fixed versions:\n- web2py (PyPI): affected all versions; fixed in 2.23.1\n- web2py (PyPI): affected all versions; fixed in 2.23.1\n- web2py (PyPI): affected all versions; fixed in 2.23.1\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-2023-22432/ (Markdown: https://insights.sbomify.com/CVE-2023-22432/index.md)","id":"CVE-2023-22432","markdown":"https://insights.sbomify.com/CVE-2023-22432/index.md","name":"CVE-2023-22432","record":{"aliases":["GHSA-w4r7-vm83-q2c7","PYSEC-2026-1064","UBUNTU-CVE-2023-22432"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"web2py web framework","requires_auth":"none","summary":"Attackers can redirect web2py users to malicious sites via crafted URLs, facilitating phishing attacks.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jpcert","cpe":[{"product":"web2py","vendor":"web2py"}],"cvss":{"score":6.1,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Open redirect vulnerability exists in web2py versions prior to 2.23.1. When using the tool, a web2py user may be redirected to an arbitrary website by accessing a specially crafted URL. As a result, the user may become a victim of a phishing attack.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2023-03-06","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":1,"refs":[{"date":"2023-03-06T04:43:11Z","kind":"github_poc","ref":"https://github.com/aeyesec/CVE-2023-22432","stars":3,"title":"PoC for CVE-2023-22432 (web2py)"},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-22432.yaml","stars":null,"title":"Web2py URL - Open Redirect"}],"tier":"weaponised"},"has_fix":true,"headline":"Open redirect in web2py","id":"CVE-2023-22432","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"open_redirect","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority because it is Unused","id":"CVE-2023-22433"},"packages":[{"ecosystem":"PyPI","fixed":["2.23.1"],"introduced":["0"],"last_affected":[],"package":"web2py","purl":null,"source":"GHSA-w4r7-vm83-q2c7"},{"ecosystem":"PyPI","fixed":["2.23.1"],"introduced":["0"],"last_affected":[],"package":"web2py","purl":"pkg:pypi/web2py","source":"GHSA-w4r7-vm83-q2c7"},{"ecosystem":"PyPI","fixed":["2.23.1"],"introduced":["0"],"last_affected":[],"package":"web2py","purl":"pkg:pypi/web2py","source":"PYSEC-2026-1064"}],"prev":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority because it is Unused","id":"CVE-2023-22431"},"products":["web2py"],"published":"2023-03-05","related":[{"cvss_score":9.8,"headline":"Command injection in web2py","id":"CVE-2023-45158","kev_date_added":null,"published":"2023-10-16"},{"cvss_score":9.8,"headline":"web2py remote code execution via hardcoded encryption key in session.connect function","id":"CVE-2016-3953","kev_date_added":null,"published":"2018-02-06"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2016-3957","kev_date_added":null,"published":"2018-02-06"},{"cvss_score":9.8,"headline":"web2py is vulnerable to password brute-force attack","id":"CVE-2016-10321","kev_date_added":null,"published":"2017-04-10"},{"cvss_score":8.8,"headline":"Web2py Cross-Site Request Forgery vulnerability","id":"CVE-2016-4808","kev_date_added":null,"published":"2017-01-11"},{"cvss_score":7.8,"headline":"Information disclosure in n/a","id":"CVE-2016-3952","kev_date_added":null,"published":"2018-02-06"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2016-4806","kev_date_added":null,"published":"2017-01-11"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-07","vendors":["web2py"]},"summary":"Attackers can redirect web2py users to malicious sites via crafted URLs, facilitating phishing attacks.","url":"https://insights.sbomify.com/CVE-2023-22432/"}