Description
phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | brightlocal/phpwhois | <= 4.2.5 | — | GHSA-c95f-27gx-6vq9 |
| Packagist | david-garcia/phpwhois | <= 4.3.1 | — | GHSA-c95f-27gx-6vq9 |
| Packagist | ivankristianto/phpwhois | <= 4.3.0 | — | GHSA-c95f-27gx-6vq9 |
| Packagist | jsmitty12/phpwhois | < 5.1.0 | 5.1.0 | GHSA-c95f-27gx-6vq9 |
| Packagist | kazist/phpwhois | <= 4.2.6 | — | GHSA-c95f-27gx-6vq9 |
| Packagist | phpwhois/phpwhois | <= 4.2.5 | — | GHSA-c95f-27gx-6vq9 |
| Packagist | serluck/phpwhois | <= 4.2.6 | — | GHSA-c95f-27gx-6vq9 |
| Packagist | simple-updates/phpwhois | <= 1.0.0 | — | GHSA-c95f-27gx-6vq9 |
| Packagist | truckersmp/phpwhois | <= 4.3.1 | — | GHSA-c95f-27gx-6vq9 |
References
- https://github.com/jsmitty12/phpWhois/issues/19
- https://github.com/sbaresearch/advisories/tree/public/2018/SBA-ADV-20180425-01_phpWhois_Code_Execution
- https://github.com/sparc/phpWhois.org/commit/5cc572490c9053d46598ec9348a11e36a5a33a46#diff-f150ae17da7341bf6c2eff928684b3a3
- https://github.com/Gemorroj/phpwhois/commit/91c937e03c876ba1290b6de2a3ad953d2105fdd0
- https://blog.nettitude.com/uk/cve-2015-5243-phpwhois-remote-code-execution
- https://github.com/jsmitty12/phpWhois/blob/master/CHANGELOG.md