Apache worker crashes via double-interpolated Redis keys
Published Jul 22, 2021 · Updated Aug 3, 2024
Format string injection in OpenIDC mod_auth_openidc before 2.4.9 allows remote attackers to crash Apache workers through crafted cache keys. The Redis cache path formats each key into a command, then passes that completed string to hiredis as a format string for a second interpolation. Exploitation requires server-cache sessions with Redis and OIDCCacheEncrypt off; repeated requests interrupt service, with no demonstrated code execution.
Summary
What happened
Format string injection in OpenIDC mod_auth_openidc before 2.4.9 allows remote attackers to crash Apache workers through crafted cache keys. The Redis cache path formats each key into a command, then passes that completed string to hiredis as a format string for a second interpolation. Exploitation requires server-cache sessions with Redis and OIDCCacheEncrypt off; repeated requests interrupt service, with no demonstrated code execution.
The record
- CVE
- CVE-2021-32785
- Published
- Jul 22, 2021
- Updated
- Aug 3, 2024
- Vendor
- OpenIDC
- Product
- mod_auth_openidc
- Classifications
- CWE-134, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 22, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.4.9
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo