CVE-2015-5243 json
phpWhois arbitrary code execution via a crafted whois record
published 2018-08-20 8 y ago modified 2026-06-17 4 mo ago also GHSA-c95f-27gx-6vq9 , EUVD-2022-3545
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.2%
- EPSS 6.2% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
phpWhois allows remote attackers to execute arbitrary code via a crafted whois record.
Patch / fix
- packagist jsmitty12/phpwhois 5.1.0
Exploit prediction
6.19% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/sbaresearch/advisories/tree/public/2018/SBA-ADV-20180425-01_phpWhois_Code_Execution referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | jsmitty12/phpwhois | <5.1.0 |
5.1.0 |
| packagist | phpwhois/phpwhois | <=4.2.5 |
no fix listed |
| packagist | brightlocal/phpwhois | <=4.2.5 |
no fix listed |
| packagist | david-garcia/phpwhois | <=4.3.1 |
no fix listed |
| packagist | ivankristianto/phpwhois | <=4.3.0 |
no fix listed |
| packagist | kazist/phpwhois | <=4.2.6 |
no fix listed |
| packagist | serluck/phpwhois | <=4.2.6 |
no fix listed |
| packagist | simple-updates/phpwhois | <=1.0.0 |
no fix listed |
| packagist | truckersmp/phpwhois | <=4.3.1 |
no fix listed |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/sparc/phpWhois.org/commit/5cc572490c9053d46598ec9348a11e36a5a33a46#diff-f150ae17da7341bf6c2eff928684b3a3
web, patch, vendor-advisory
-
github.com
/Gemorroj/phpwhois/commit/91c937e03c876ba1290b6de2a3ad953d2105fdd0
web, patch, third-party-advisory
-
github.com
/sbaresearch/advisories/tree/public/2018/SBA-ADV-20180425-01_phpWhois_Code_Execution
web, exploit, third-party-advisory
-
github.com
/jsmitty12/phpWhois/issues/19
web, issue-tracking, third-party-advisory
-
blog.nettitude.com
/uk/cve-2015-5243-phpwhois-remote-code-execution
web, third-party-advisory
-
github.com
/jsmitty12/phpWhois/blob/master/CHANGELOG.md
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-5243
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/brightlocal/phpwhois/CVE-2015-5243.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/david-garcia/phpwhois/CVE-2015-5243.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/ivankristianto/phpwhois/CVE-2015-5243.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/kazist/phpwhois/CVE-2015-5243.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/phpwhois/phpwhois/CVE-2015-5243.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/serluck/phpwhois/CVE-2015-5243.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/simple-updates/phpwhois/CVE-2015-5243.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/truckersmp/phpwhois/CVE-2015-5243.yaml
web
Sources
- CVE List CVE-2015-5243
- GitHub Advisory GHSA-c95f-27gx-6vq9
- NVD CVE-2015-5243
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.