CVE-2015-5243 phpWhois arbitrary code execution via a crafted whois record
Remote attackers can execute arbitrary code in phpWhois by submitting a crafted whois record, requiring library upgrades.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-5243?
CVE-2015-5243 is a critical code injection vulnerability in n/a, published on 20 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.
Weakness: CWE-94
Which versions are affected by CVE-2015-5243?
18 open source packages ship an affected version, including brightlocal/phpwhois, david-garcia/phpwhois and ivankristianto/phpwhois. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
brightlocal/phpwhois Packagist | All versions to 4.2.5 | None |
brightlocal/phpwhois Packagist | All versions to 4.2.5 | None |
david-garcia/phpwhois Packagist | All versions to 4.3.1 | None |
david-garcia/phpwhois Packagist | All versions to 4.3.1 | None |
ivankristianto/phpwhois Packagist | All versions to 4.3.0 | None |
ivankristianto/phpwhois Packagist | All versions to 4.3.0 | None |
12 more packages
jsmitty12/phpwhois Packagist | All versions | 5.1.0 |
jsmitty12/phpwhois Packagist | All versions | 5.1.0 |
kazist/phpwhois Packagist | All versions to 4.2.6 | None |
kazist/phpwhois Packagist | All versions to 4.2.6 | None |
phpwhois/phpwhois Packagist | All versions to 4.2.5 | None |
phpwhois/phpwhois Packagist | All versions to 4.2.5 | None |
serluck/phpwhois Packagist | All versions to 4.2.6 | None |
serluck/phpwhois Packagist | All versions to 4.2.6 | None |
simple-updates/phpwhois Packagist | All versions to 1.0.0 | None |
simple-updates/phpwhois Packagist | All versions to 1.0.0 | None |
truckersmp/phpwhois Packagist | All versions to 4.3.1 | None |
truckersmp/phpwhois Packagist | All versions to 4.3.1 | None |
Products include Phpwhois Project Phpwhois.
How do I fix CVE-2015-5243?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2015-5243 being exploited?
There is no known exploitation of CVE-2015-5243 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-c95f-27gx-6vq9.