VYPR
High severityNVD Advisory· Published Dec 1, 2018· Updated Aug 5, 2024

CVE-2018-19784

CVE-2018-19784

Description

PHP-Proxy 5.1.0 uses weak cryptography in str_rot_pass, allowing attackers to decrypt authorization data and perform local file inclusion.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

PHP-Proxy 5.1.0 uses weak cryptography in str_rot_pass, allowing attackers to decrypt authorization data and perform local file inclusion.

Vulnerability

The str_rot_pass function in vendor/atholn1600/php-proxy/src/helpers.php of PHP-Proxy 5.1.0 uses weak encryption, making the authorization data easily decrypted [1]. Even if the user changes the default key, the encryption is flawed [3][4]. The vulnerability is present in all versions up to 5.1.0 [3].

Exploitation

An attacker can exploit this by sending a crafted request to decrypt the authorization key. The exploit requires that the url_mode is set to 2 (default) and that the curl file protocol is not disabled [3]. Using the decrypted key, the attacker can perform a local file inclusion attack. A sample payload is available [3].

Impact

Successful exploitation allows an attacker to read arbitrary files on the server, such as /etc/passwd, leading to information disclosure [3]. The attacker does not require authentication.

Mitigation

As of the publication date (2018-12-01), no patched version has been released [1][3]. Users should disable the curl file protocol or change the url_mode setting to mitigate the risk until a fix is available.

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
athlon1600/php-proxyPackagist
<= 5.1.0

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.