GitHub Advisory Database
GHSA-c95f-27gx-6vq9
phpWhois arbitrary code execution via a crafted whois record
Details
phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | jsmitty12/phpwhois | All versions before 5.1.0 (fixed in 5.1.0) |
| Packagist | phpwhois/phpwhois | All versions up to and including 4.2.5 |
| Packagist | brightlocal/phpwhois | All versions up to and including 4.2.5 |
| Packagist | david-garcia/phpwhois | All versions up to and including 4.3.1 |
| Packagist | ivankristianto/phpwhois | All versions up to and including 4.3.0 |
| Packagist | kazist/phpwhois | All versions up to and including 4.2.6 |
| Packagist | serluck/phpwhois | All versions up to and including 4.2.6 |
| Packagist | simple-updates/phpwhois | All versions up to and including 1.0.0 |
| Packagist | truckersmp/phpwhois | All versions up to and including 4.3.1 |
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