VDB
GHSA-8fx5-jfgh-rj5g
GHSA-8fx5-jfgh-rj5g
PUBLISHED
Record from GitHub Advisory Database · Published May 2, 2022
session.c in the session extension in PHP before 5.2.13, and 5.3.1, does not properly interpret ; (semicolon) characters in the argument to the session_save_path function, which allows context-dependent attackers to bypass open_basedir and safe_mode restrictions via an argument that contains multiple ; characters in conjunction with a .. (dot dot).
Timeline
- May 2, 2022 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-8fx5-jfgh-rj5g
vulnetix vdb fixes GHSA-8fx5-jfgh-rj5g
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-8fx5-jfgh-rj5g/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- http://secunia.com/advisories/38708 url
- http://securityreason.com/achievement_securityalert/82 url
- http://securityreason.com/securityalert/7008 url
- http://securitytracker.com/id?1023661 url
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?r1=293036&r2=294272 url
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/session/session.c?view=log url
- http://www.php.net/ChangeLog-5.php url
- http://www.vupen.com/english/advisories/2010/0479 url
- https://nvd.nist.gov/vuln/detail/CVE-2010-1130 advisory
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?r1=293036&r2=294272 url
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/session/session.c?view=log url
- http://www.php.net/releases/5_2_13.php url