{"id":"GHSA-c95f-27gx-6vq9","summary":"phpWhois arbitrary code execution via a crafted whois record","details":"phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.","aliases":["CVE-2015-5243"],"modified":"2024-04-23T22:58:41.500874Z","published":"2022-05-14T00:57:40Z","database_specific":{"cwe_ids":["CWE-94"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-04-23T22:40:23Z","nvd_published_at":"2018-08-20T21:29:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5243"},{"type":"WEB","url":"https://github.com/jsmitty12/phpWhois/issues/19"},{"type":"WEB","url":"https://github.com/Gemorroj/phpwhois/commit/91c937e03c876ba1290b6de2a3ad953d2105fdd0"},{"type":"WEB","url":"https://github.com/sparc/phpWhois.org/commit/5cc572490c9053d46598ec9348a11e36a5a33a46#diff-f150ae17da7341bf6c2eff928684b3a3"},{"type":"WEB","url":"https://blog.nettitude.com/uk/cve-2015-5243-phpwhois-remote-code-execution"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/brightlocal/phpwhois/CVE-2015-5243.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/david-garcia/phpwhois/CVE-2015-5243.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/ivankristianto/phpwhois/CVE-2015-5243.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/kazist/phpwhois/CVE-2015-5243.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpwhois/phpwhois/CVE-2015-5243.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/serluck/phpwhois/CVE-2015-5243.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/simple-updates/phpwhois/CVE-2015-5243.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/truckersmp/phpwhois/CVE-2015-5243.yaml"},{"type":"WEB","url":"https://github.com/jsmitty12/phpWhois/blob/master/CHANGELOG.md"},{"type":"WEB","url":"https://github.com/sbaresearch/advisories/tree/public/2018/SBA-ADV-20180425-01_phpWhois_Code_Execution"}],"affected":[{"package":{"name":"jsmitty12/phpwhois","ecosystem":"Packagist","purl":"pkg:composer/jsmitty12/phpwhois"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.1.0"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v5.0","v5.0.1","v5.0.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c95f-27gx-6vq9/GHSA-c95f-27gx-6vq9.json"}},{"package":{"name":"phpwhois/phpwhois","ecosystem":"Packagist","purl":"pkg:composer/phpwhois/phpwhois"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.5"}]}],"versions":["4.2.3","4.2.4","v4.2.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c95f-27gx-6vq9/GHSA-c95f-27gx-6vq9.json"}},{"package":{"name":"brightlocal/phpwhois","ecosystem":"Packagist","purl":"pkg:composer/brightlocal/phpwhois"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.5"}]}],"versions":["4.2.3","4.2.4","v4.2.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c95f-27gx-6vq9/GHSA-c95f-27gx-6vq9.json"}},{"package":{"name":"david-garcia/phpwhois","ecosystem":"Packagist","purl":"pkg:composer/david-garcia/phpwhois"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.1"}]}],"versions":["4.2.3","4.2.4","4.3.0","4.3.1","v4.2.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c95f-27gx-6vq9/GHSA-c95f-27gx-6vq9.json"}},{"package":{"name":"ivankristianto/phpwhois","ecosystem":"Packagist","purl":"pkg:composer/ivankristianto/phpwhois"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.0"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v4.2.6","v4.3.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c95f-27gx-6vq9/GHSA-c95f-27gx-6vq9.json"}},{"package":{"name":"kazist/phpwhois","ecosystem":"Packagist","purl":"pkg:composer/kazist/phpwhois"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.6"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v4.2.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c95f-27gx-6vq9/GHSA-c95f-27gx-6vq9.json"}},{"package":{"name":"serluck/phpwhois","ecosystem":"Packagist","purl":"pkg:composer/serluck/phpwhois"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.2.6"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v4.2.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c95f-27gx-6vq9/GHSA-c95f-27gx-6vq9.json"}},{"package":{"name":"simple-updates/phpwhois","ecosystem":"Packagist","purl":"pkg:composer/simple-updates/phpwhois"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}],"versions":["1.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c95f-27gx-6vq9/GHSA-c95f-27gx-6vq9.json"}},{"package":{"name":"truckersmp/phpwhois","ecosystem":"Packagist","purl":"pkg:composer/truckersmp/phpwhois"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.1"}]}],"versions":["4.2.3","4.2.4","v4.2.5","v4.3.0","v4.3.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-c95f-27gx-6vq9/GHSA-c95f-27gx-6vq9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}