{"answers":{"affected":"6 open source packages ship an affected version, including org.apache.struts:struts-tiles, org.apache.tiles:tiles-core and struts:struts. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-49735 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-49735 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-49735 is a high-severity path traversal vulnerability in Apache Tiles, published on 30 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-49735 and fix it if it is affected.\n\nWhat it is: CVE-2023-49735 is a high-severity path traversal vulnerability in Apache Tiles, published on 30 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-49735 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.struts:struts-tiles (Maven): affected from 1.3.0 up to 1.3.10; no fix listed\n- org.apache.struts:struts-tiles (Maven): affected from 1.3.0 up to 1.3.10; no fix listed\n- org.apache.tiles:tiles-core (Maven): affected from 2.0.0; no fix listed\n- org.apache.tiles:tiles-core (Maven): affected from 2.0.0; no fix listed\n- struts:struts (Maven): affected from 1.1 up to 1.2.9; no fix listed\n- struts:struts (Maven): affected from 1.1 up to 1.2.9; no fix listed\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-49735/ (Markdown: https://insights.sbomify.com/CVE-2023-49735/index.md)","id":"CVE-2023-49735","markdown":"https://insights.sbomify.com/CVE-2023-49735/index.md","name":"CVE-2023-49735","record":{"aliases":["DEBIAN-CVE-2023-49735","GHSA-qw4h-3xjj-84cc","UBUNTU-CVE-2023-49735"],"analysis":{"component_type":"library","fix_type":"end_of_life","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Tiles library","requires_auth":"none","summary":"Unvalidated session attribute in Apache Tiles allows path traversal and XXE, potentially leading to data exposure or code execution in unsupported versions.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"tiles","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"** UNSUPPORTED WHEN ASSIGNED **\n\nThe value set as the DefaultLocaleResolver.LOCALE_KEY attribute on the session was not validated while resolving XML definition files, leading to possible path traversal and eventually SSRF/XXE when passing user-controlled data to this key. Passing user-controlled data to this key may be relatively common, as it was also used like that to set the language in the 'tiles-test' application shipped with Tiles.\n\nThis issue affects Apache Tiles from version 2 onwards.\n\nNOTE: This vulnerability only affects products that are no longer supported by the maintainer.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Apache Tiles: Unvalidated input may lead to path traversal and XXE","id":"CVE-2023-49735","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":6,"n_references":1,"next":{"headline":"Apache Superset: SQL Injection on where_in JINJA macro","id":"CVE-2023-49736"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["1.3.0"],"last_affected":["1.3.10"],"package":"org.apache.struts:struts-tiles","purl":null,"source":"GHSA-qw4h-3xjj-84cc"},{"ecosystem":"Maven","fixed":[],"introduced":["1.3.0"],"last_affected":["1.3.10"],"package":"org.apache.struts:struts-tiles","purl":"pkg:maven/org.apache.struts/struts-tiles","source":"GHSA-qw4h-3xjj-84cc"},{"ecosystem":"Maven","fixed":[],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.tiles:tiles-core","purl":null,"source":"GHSA-qw4h-3xjj-84cc"},{"ecosystem":"Maven","fixed":[],"introduced":["2.0.0"],"last_affected":[],"package":"org.apache.tiles:tiles-core","purl":"pkg:maven/org.apache.tiles/tiles-core","source":"GHSA-qw4h-3xjj-84cc"},{"ecosystem":"Maven","fixed":[],"introduced":["1.1"],"last_affected":["1.2.9"],"package":"struts:struts","purl":null,"source":"GHSA-qw4h-3xjj-84cc"},{"ecosystem":"Maven","fixed":[],"introduced":["1.1"],"last_affected":["1.2.9"],"package":"struts:struts","purl":"pkg:maven/struts/struts","source":"GHSA-qw4h-3xjj-84cc"}],"prev":{"headline":"Apache Superset: Privilege Escalation Vulnerability","id":"CVE-2023-49734"},"products":["Apache Tiles"],"published":"2023-11-30","related":[{"cvss_score":6.8,"headline":"Apache Tiles Vulnerable to XSS via EL Expression Injection","id":"CVE-2009-1275","kev_date_added":null,"published":"2009-04-09"}],"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":"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)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-20","vendors":["Apache Software Foundation"]},"summary":"Unvalidated session attribute in Apache Tiles allows path traversal and XXE, potentially leading to data exposure or code execution in unsupported versions.","url":"https://insights.sbomify.com/CVE-2023-49735/"}