{"id":"CVE-2023-34478","aliases":["DEBIAN-CVE-2023-34478","EUVD-2023-2115","GHSA-pmhc-2g4f-85cg","UBUNTU-CVE-2023-34478","USN-7147-1"],"status":"published","title":"Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks that route requests based on non-normalized requests.","description":"Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.\n\nMitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.02074,"percentile":0.8174,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2023-07-24T18:24:45Z","modified":"2026-10-28T02:30:51Z","exploits":[{"source":"pocgithub","id":"shoucheng3/apache__shiro_CVE-2023-34478_1-11-0","title":"shoucheng3/apache__shiro_CVE-2023-34478_1-11-0","date":"2025-08-16","url":"https://github.com/shoucheng3/apache__shiro_CVE-2023-34478_1-11-0"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.shiro:shiro-web","fixed_in":["1.12.0","2.0.0-alpha-3"],"sources":["ghsa","osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"shiro","fixed_in":["1.3.2-5ubuntu0.24.04.1~esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0-alpha-1"},{"fixed":"2.0.0-alpha-3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-5","1.3.2-6"]},{"source":"osv","ecosystem":"Debian:13","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-6"]},{"source":"osv","ecosystem":"Debian:14","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-6"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.0"}]}],"versions":["1.0.0-incubating","1.1.0","1.10.0","1.10.1","1.11.0","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.3.0","1.3.1","1.3.2","1.4.0","1.4.0-RC2","1.4.1","1.4.2","1.5.0","1.5.1","1.5.2","1.5.3","1.6.0","1.7.0","1.7.1","1.8.0","1.9.0","1.9.1"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.shiro:shiro-web","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0-alpha-1"},{"fixed":"2.0.0-alpha-3"}]}],"versions":["2.0.0-alpha-1","2.0.0-alpha-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.4-1","1.2.4-1ubuntu0.1~esm1","1.2.4-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-2","1.3.2-3~18.04","1.3.2-3~18.04.1","1.3.2-3ubuntu0.18.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-4","1.3.2-4ubuntu0.1","1.3.2-4ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.2-4","1.3.2-5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-5ubuntu0.24.04.1~esm1"}]}],"versions":["1.3.2-5"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.4-1ubuntu0.1~esm2"}]}],"versions":["1.2.4-1","1.2.4-1ubuntu0.1~esm1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"shiro","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-5ubuntu0.24.04.1~esm1"}]}],"versions":["1.3.2-5"],"bundled":4}],"products":[{"vendor":"apache","product":"shiro"},{"vendor":"apache software foundation","product":"apache shiro"}],"references":[{"url":"https://lists.apache.org/thread/mbv26onkgw9o35rldh7vmq11wpv2t2qk","tags":["vendor-advisory","x_transferred","Mailing List","advisory","web","report"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/24/4","tags":["x_transferred","Mailing List","Third Party Advisory","web","report"]},{"url":"https://security.netapp.com/advisory/ntap-20230915-0005/","tags":["x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34478","tags":["advisory"]},{"url":"https://github.com/apache/shiro/commit/c3ede3f94efb442acb0795714a022c2c121d1da0","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20230915-0005","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pmhc-2g4f-85cg"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34478.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-34478","tags":["advisory"]},{"url":"https://github.com/apache/shiro","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-34478","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2023/07/24/4","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-34478","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7147-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-6802","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-46749","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-46750","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-34478","title":"Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks that route requests based on non-normalized requests.","description":"Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.\n\nMitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+","status":"published","published":"2023-07-24T18:24:45.619Z","modified":"2025-02-13T16:55:37.269Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:35.912488Z"}],"euvd":[{"id":"EUVD-2023-2115","description":"Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.\n\nMitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+","status":"published","published":"2023-07-24T18:24:45Z","modified":"2025-02-13T16:55:37Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:03:50.021705Z"}],"ghsa":[{"id":"GHSA-pmhc-2g4f-85cg","title":"Path Traversal in Apache Shiro","description":"Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.\n\nMitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+","status":"published","published":"2023-07-24T21:30:39Z","modified":"2025-02-13T19:01:45Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:38:31.416868Z"}],"nvd":[{"id":"CVE-2023-34478","description":"Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.\n\nMitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+","status":"published","published":"2023-07-24T19:15:10.63Z","modified":"2026-06-17T06:03:44.157Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:08:18.687088Z"}],"osv":[{"id":"CVE-2023-34478","title":"Apache Shiro before 1.12.0, or 2.0.0-alpha-3, may be susceptible to a path traversal attack when used together with APIs or other web frameworks that route requests based on non-normalized requests.","description":"Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.\n\nMitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+","status":"published","published":"2023-07-24T18:24:45.619Z","modified":"2026-10-28T02:30:51.905937702Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:32.116263Z"},{"id":"DEBIAN-CVE-2023-34478","description":"Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.  Mitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+","status":"published","published":"2023-07-24T19:15:10.63Z","modified":"2026-10-26T18:03:05.225566846Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:39.980321Z"},{"id":"GHSA-pmhc-2g4f-85cg","title":"Path Traversal in Apache Shiro","description":"Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests.\n\nMitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+","status":"published","published":"2023-07-24T21:30:39Z","modified":"2025-02-13T19:12:43.466421Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:53.244788Z"},{"id":"UBUNTU-CVE-2023-34478","description":"Apache Shiro, before 1.12.0 or 2.0.0-alpha-3, may be susceptible to a path traversal attack that results in an authentication bypass when used together with APIs or other web frameworks that route requests based on non-normalized requests. Mitigation: Update to Apache Shiro 1.12.0+ or 2.0.0-alpha-3+","status":"published","published":"2023-07-24T19:15:00Z","modified":"2026-11-12T17:20:46.065187343Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-12T18:03:17.400127Z"},{"id":"USN-7147-1","title":"shiro vulnerabilities","description":"It was discovered that Apache Shiro incorrectly handled path traversal when\nused with other web frameworks or path rewriting. An attacker could\npossibly use this issue to obtain sensitive information or administrative\nprivileges. This update provides the corresponding fix for Ubuntu 24.04 LTS\nand Ubuntu 24.10. (CVE-2023-34478, CVE-2023-46749)\n\nIt was discovered that Apache Shiro incorrectly handled web redirects when\nused together with the form authentication method. An attacker could\npossibly use this issue to perform phishing attacks. This update provides\nthe corresponding fix for Ubuntu 24.04 LTS and Ubuntu 24.10.\n(CVE-2023-46750)\n\nIt was discovered that Apache Shiro incorrectly handled requests through\nservlet filtering. An attacker could possibly use this issue to obtain\nadministrative privileges. This update provides the corresponding fix for\nUbuntu 16.04 LTS. (CVE-2016-6802)\n","status":"published","published":"2024-12-10T18:08:44Z","modified":"2026-06-25T13:32:29.962137062Z","updated_at":"2026-11-02T16:58:18.876384Z"}]}}
