{"id":"CVE-2022-25481","aliases":["CVE-2022-25481","GHSA-69wp-xwm7-69wm"],"related":[],"kind":"vulnerability","state":"published","title":"Exposure of Resource to Wrong Sphere in ThinkPHP Framework","summary":"ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php. NOTE: this is disputed by a third party because system environment exposure is an intended feature of the debugging mode.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php. NOTE: this is disputed by a third party because system environment exposure is an intended feature of the debugging mode.","source":"cvelist"},{"lang":"en","text":"ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado que ThinkPHP Framework versión v5.0.24, estaba configurado sin el parámetro PATHINFO. Esto permite a atacantes acceder a todos los parámetros del entorno del sistema desde el archivo index.php","source":"nvd"}],"published":"2022-03-20T00:00:00.000Z","modified":"2026-06-17T04:33:36.830Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-284","CWE-668"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"-","status":"affected"}],"vendor":"thinkphp","product":"thinkphp","cpe":"cpe:2.3:a:thinkphp:thinkphp:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"5.0.24"}],"ecosystem":"Packagist","package":"topthink/framework","purl":"pkg:composer/topthink/framework","source":"ghsa"},{"ranges":[{"status":"affected","version":"5.0.24"}],"vendor":"thinkphp","product":"thinkphp","cpe":"cpe:2.3:a:thinkphp:thinkphp:5.0.24:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Lyther/VulnDiscover/blob/master/Web/ThinkPHP_InfoLeak.md","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25481","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/top-think/framework","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-04-23T13:46:50.313Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25481","url":"https://www.cve.org/CVERecord?id=CVE-2022-25481","licence":"CVE Terms of Use","modified":"2024-08-03T04:42:49.692Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-69wp-xwm7-69wm","url":"https://github.com/advisories/GHSA-69wp-xwm7-69wm","licence":"CC-BY-4.0","modified":"2024-07-03T21:21:33.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25481","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25481","licence":"Public domain","modified":"2026-06-17T04:33:36.830Z"}],"updatedAt":"2026-11-25T22:58:10.206Z","epss":{"score":0.04748,"percentile":0.9208,"date":"2026-12-02T12:00:21.000Z"}}