[TagAwareCipher] - Decryption Failure (Regex Match)
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
SecureProps is a PHP library designed to simplify the encryption and decryption of property data in objects. A vulnerability in SecureProps version 1.2.0 and 1.2.1 involves a regex failing to detect tags during decryption of encrypted data. This occurs when the encrypted data has been encoded with `NullEncoder` and passed to `TagAwareCipher`, and contains special characters such as `\n`. As a result, the decryption process is skipped since the tags are not detected. This causes the encrypted data to be returned in plain format. The vulnerability affects users who implement `TagAwareCipher` with any base cipher that has `NullEncoder` (not default). The patch for the issue has been released. Users are advised to update to version 1.2.2. As a workaround, one may use the default `Base64Encoder` with the base cipher decorated with `TagAwareCipher` to prevent special characters in the encrypted string from interfering with regex tag detection logic. This workaround is safe but may involve double encoding since `TagAwareCipher` uses `NullEncoder` by default.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| IlicMiljan | Secure-Props | 1.2.0 to before 1.2.2 | 1.2.2 | Patch available | CNA |
| — | ilicmiljan/secure-props (Packagist) | 1.2.0 to before 1.2.2 | 1.2.2 | Patch available | GHSA-rj29-j2g4-77q8 |
- Secure-Props VendorIlicMiljan Affected 1.2.0 to before 1.2.2 Fixed in 1.2.2 Patch available CNA
- ilicmiljan/secure-props (Packagist) Vendor— Affected 1.2.0 to before 1.2.2 Fixed in 1.2.2 Patch available GHSA-rj29-j2g4-77q8
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ilicmiljan:secureprops:1.2.0:*:*:*:*:*:*:* | 1.2.0 | Vulnerable | IlicMiljan |
| cpe:2.3:a:ilicmiljan:secureprops:1.2.1:*:*:*:*:*:*:* | 1.2.1 | Vulnerable | IlicMiljan |
- cpe:2.3:a:ilicmiljan:secureprops:1.2.0:*:*:*:*:*:*:* Versions 1.2.0 Vulnerable ·IlicMiljan
- cpe:2.3:a:ilicmiljan:secureprops:1.2.1:*:*:*:*:*:*:* Versions 1.2.1 Vulnerable ·IlicMiljan
Remediation
- Fix · CNA Secure-Props (IlicMiljan) Fixed in 1.2.2
- Fix · GHSA-rj29-j2g4-77q8 ilicmiljan/secure-props (Packagist) Fixed in 1.2.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-28864
- 2026-10-03 Alias added: GHSA-rj29-j2g4-77q8
References
Advisory 2
Sources
- CVE-2024-28864 · CVE Program
- CVE-2024-28864 · NVD
- FIRST EPSS
- GHSA-rj29-j2g4-77q8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences