{"id":"GHSA-c95f-27gx-6vq9","aliases":["CVE-2015-5243"],"title":"phpWhois arbitrary code execution via a crafted whois record","description":"phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.","severity":"critical","score":9.8,"published":"2022-05-14T00:57:40.000Z","modified":"2024-04-23T22:59:04.992Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"jsmitty12/phpwhois","ranges":[{"events":[{"introduced":"0"},{"fixed":"5.1.0"}],"type":"ECOSYSTEM"}],"versions":["4.2.3","4.2.4","v4.2.5","v5.0","v5.0.1","v5.0.2"],"fixed":["5.1.0"]},{"ecosystem":"Packagist","name":"phpwhois/phpwhois","ranges":[{"events":[{"introduced":"0"},{"last_affected":"4.2.5"}],"type":"ECOSYSTEM"}],"versions":["4.2.3","4.2.4","v4.2.5"],"fixed":[]},{"ecosystem":"Packagist","name":"brightlocal/phpwhois","ranges":[{"events":[{"introduced":"0"},{"last_affected":"4.2.5"}],"type":"ECOSYSTEM"}],"versions":["4.2.3","4.2.4","v4.2.5"],"fixed":[]},{"ecosystem":"Packagist","name":"david-garcia/phpwhois","ranges":[{"events":[{"introduced":"0"},{"last_affected":"4.3.1"}],"type":"ECOSYSTEM"}],"versions":["4.2.3","4.2.4","4.3.0","4.3.1","v4.2.5"],"fixed":[]},{"ecosystem":"Packagist","name":"ivankristianto/phpwhois","ranges":[{"events":[{"introduced":"0"},{"last_affected":"4.3.0"}],"type":"ECOSYSTEM"}],"versions":["4.2.3","4.2.4","v4.2.5","v4.2.6","v4.3.0"],"fixed":[]},{"ecosystem":"Packagist","name":"kazist/phpwhois","ranges":[{"events":[{"introduced":"0"},{"last_affected":"4.2.6"}],"type":"ECOSYSTEM"}],"versions":["4.2.3","4.2.4","v4.2.5","v4.2.6"],"fixed":[]},{"ecosystem":"Packagist","name":"serluck/phpwhois","ranges":[{"events":[{"introduced":"0"},{"last_affected":"4.2.6"}],"type":"ECOSYSTEM"}],"versions":["4.2.3","4.2.4","v4.2.5","v4.2.6"],"fixed":[]},{"ecosystem":"Packagist","name":"simple-updates/phpwhois","ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.0.0"}],"type":"ECOSYSTEM"}],"versions":["1.0.0"],"fixed":[]},{"ecosystem":"Packagist","name":"truckersmp/phpwhois","ranges":[{"events":[{"introduced":"0"},{"last_affected":"4.3.1"}],"type":"ECOSYSTEM"}],"versions":["4.2.3","4.2.4","v4.2.5","v4.3.0","v4.3.1"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2015-5243","https://github.com/jsmitty12/phpWhois/issues/19","https://github.com/Gemorroj/phpwhois/commit/91c937e03c876ba1290b6de2a3ad953d2105fdd0","https://github.com/sparc/phpWhois.org/commit/5cc572490c9053d46598ec9348a11e36a5a33a46#diff-f150ae17da7341bf6c2eff928684b3a3","https://blog.nettitude.com/uk/cve-2015-5243-phpwhois-remote-code-execution","https://github.com/FriendsOfPHP/security-advisories/blob/master/brightlocal/phpwhois/CVE-2015-5243.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/david-garcia/phpwhois/CVE-2015-5243.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/ivankristianto/phpwhois/CVE-2015-5243.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/kazist/phpwhois/CVE-2015-5243.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/phpwhois/phpwhois/CVE-2015-5243.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/serluck/phpwhois/CVE-2015-5243.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/simple-updates/phpwhois/CVE-2015-5243.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/truckersmp/phpwhois/CVE-2015-5243.yaml","https://github.com/jsmitty12/phpWhois/blob/master/CHANGELOG.md","https://github.com/sbaresearch/advisories/tree/public/2018/SBA-ADV-20180425-01_phpWhois_Code_Execution"],"sources":[{"name":"OSV","id":"GHSA-c95f-27gx-6vq9","modified":"2024-04-23T22:59:04.992993Z","url":"https://osv.dev/vulnerability/GHSA-c95f-27gx-6vq9"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}]}