Arbitrary Code Injection Affecting jsmitty12/phpwhois package, versions <5.1.0


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 4.73% (93rd percentile)
Expand this section
NVD
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-JSMITTY12PHPWHOIS-72379
  • published 20 Sep 2018
  • disclosed 18 May 2018
  • credit Unknown

How to fix?

Upgrade jsmitty12/phpwhois to version 5.1.0 or higher.

Overview

jsmitty12/phpwhois/phpwhois is a library for querying whois services and parsing results.

Affected versions of this package are vulnerable to Arbitrary Code Injection due to insufficient sanitization of returned WHOIS data. An attacker who was controlling the WHOIS information of a requested domain could execute arbitrary PHP code in the context of the application.