Vulnerability DatabaseGHSA-87mp-xc4x-x8rh

GHSA-87mp-xc4x-x8rh
PHP vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-87mp-xc4x-x8rh) is a Padding Oracle Vulnerability in RSA Encryption affecting the asymmetricrypt/asymmetricrypt package. This security issue was discovered in the package's encryption implementation and affects all versions up to 0.3.0. The vulnerability was initially reported on January 24, 2017, and was later addressed with a fix merged into the codebase (GitHub PR).

Technical details

The vulnerability stems from improper padding implementation in RSA encryption. The package used OPENSSL_PKCS1_PADDING (PKCS v1.5) by default, which is known to be vulnerable to Bleichenbacher's attack from 1998. The vulnerability exists in the encryption and decryption processes, specifically in the openssl_private_decrypt function implementation. The issue has been classified as Moderate severity and is associated with CWE-327 (GitHub Advisory).

Impact

The vulnerability allows attackers to potentially retrieve encrypted content through a padding oracle attack. This type of attack can compromise the confidentiality of encrypted data by exploiting the system's response to different padding conditions (GitHub Issue).

Exploitability

The vulnerability is exploitable through Bleichenbacher's attack, a well-known padding oracle attack technique. While no specific proof of concept was publicly released, the vulnerability is similar to the one described in ZF2015-10 advisory (GitHub Issue).

Mitigation and workarounds

The fix involves implementing OPENSSL_PKCS1_OAEP_PADDING (PKCS v2.0/OAEP) instead of the default PKCS1 v1.5 padding. This was implemented by adding the padding option set to OPENSSL_PKCS1_OAEP_PADDING in both encrypt and decrypt methods. A fix was provided through the huntr.dev platform and merged into the codebase (Huntr Fix).

Community reactions

The vulnerability was initially reported through GitHub Issues and later addressed through the huntr.dev bug bounty platform, where the fix was awarded $25. The security community acknowledged the importance of proper padding in RSA encryption implementations (GitHub PR).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-44741HIGH8.8
  • PHP logoPHP
  • pimcore/admin-ui-classic-bundle
NoYesAug 12, 2026
CVE-2026-47233MEDIUM6.5
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-47132MEDIUM5.4
  • PHP logoPHP
  • thorsten/phpmyfaq
NoYesAug 12, 2026
CVE-2026-47234MEDIUM4.4
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-49262LOW3
  • PHP logoPHP
  • aimeos/pagible
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management