CVE-2016-0736
High · 7.5CVSS
7.5
EPSS
49.0%
Published
Jul 27, 2017
CISA due date
—
Cloudanix analysis
A flaw in how a web server protects login session information could let outsiders read private details that should stay confidential.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Network Service
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
mod_session_crypto encrypts session data using CBC or ECB modes without authenticated encryption, enabling padding oracle attacks that allow decryption of cookies.
Why it matters to the business
Attackers may decrypt session information to access user data or impersonate sessions across affected web server deployments; the moderate exploitation likelihood and presence in common Linux distributions raise ongoing operational risk despite the age of the issue.
How an attack unfolds
An attacker observes server responses to crafted ciphertexts, uses the padding oracle to decrypt session cookies byte by byte, and then replays or modifies decrypted session data to access protected resources.
How to fix it
Upgrade affected packages to the listed fixed versions (nova 2:17.0.0-1 on Debian 11/12/13 or nova 2:13.1.4-0ubuntu4.5+esm1 on Ubuntu Pro 16.04 LTS) and restart services; disable mod_session_crypto when not required.
How to confirm the fix worked
Confirm package versions match or exceed the fixed releases, review Apache configuration to ensure mod_session_crypto is either removed or uses authenticated encryption, and test session handling for proper integrity checks.
Typical attack path
- Scan for hosts running vulnerable Apache HTTP Server versions with mod_session_crypto enabled
- Send repeated requests with manipulated session cookies to trigger observable padding errors
- Recover plaintext session data through iterative padding oracle queries
- Forge valid session cookies to bypass authentication and access protected content
How to detect it
Examine Apache error and access logs for repeated decryption failures or anomalous cookie lengths; correlate with network traffic showing repeated requests to session endpoints from single sources.
What your security team should do
- Apply the exact package upgrades listed for each distribution without delay
- Audit all deployments for use of mod_session_crypto and disable where feasible
- Add monitoring rules for unusual session cookie patterns in web server logs
- Review downstream dependents for inherited exposure given ecosystem prevalence
The record
In Apache HTTP Server versions 2.4.0 to 2.4.23, mod_session_crypto was encrypting its data/cookie using the configured ciphers with possibly either CBC or ECB modes of operation (AES256-CBC by default), hence no selectable or builtin authenticated encryption. This made it vulnerable to padding oracle attacks, particularly with CBC.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | apache2 | 0 | 2.4.25-1 |
| Debian:12 | apache2 | 0 | 2.4.25-1 |
| Debian:13 | apache2 | 0 | 2.4.25-1 |
| Debian:8 | apache2 | 0 | 2.4.10-10+deb8u8 |
| Mageia:5 | apache | 0 | 2.4.10-16.7.mga5 |
| Red Hat:enterprise_linux:7::client | httpd | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::client | httpd-debuginfo | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::client | httpd-devel | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::client | httpd-manual | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::client | httpd-tools | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::client | mod_ldap | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::client | mod_proxy_html | 0 | 1:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::client | mod_session | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::client | mod_ssl | 0 | 1:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::computenode | httpd | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::computenode | httpd-debuginfo | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::computenode | httpd-devel | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::computenode | httpd-manual | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::computenode | httpd-tools | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::computenode | mod_ldap | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::computenode | mod_proxy_html | 0 | 1:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::computenode | mod_session | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::computenode | mod_ssl | 0 | 1:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::server | httpd | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::server | httpd-debuginfo | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::server | httpd-devel | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::server | httpd-manual | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::server | httpd-tools | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::server | mod_ldap | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::server | mod_proxy_html | 0 | 1:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::server | mod_session | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::server | mod_ssl | 0 | 1:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::workstation | httpd | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::workstation | httpd-debuginfo | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::workstation | httpd-devel | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::workstation | httpd-manual | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::workstation | httpd-tools | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::workstation | mod_ldap | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::workstation | mod_proxy_html | 0 | 1:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::workstation | mod_session | 0 | 0:2.4.6-45.el7_3.4 |
| Red Hat:enterprise_linux:7::workstation | mod_ssl | 0 | 1:2.4.6-45.el7_3.4 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd | 0 | 0:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd-debuginfo | 0 | 0:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd-devel | 0 | 0:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd-libs | 0 | 0:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd-manual | 0 | 0:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd-selinux | 0 | 0:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-httpd-tools | 0 | 0:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-mod_ldap | 0 | 0:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-mod_proxy_html | 0 | 1:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-mod_security | 0 | 0:2.9.1-19.GA.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-mod_security-debuginfo | 0 | 0:2.9.1-19.GA.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-mod_session | 0 | 0:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-mod_ssl | 0 | 1:2.4.23-120.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-openssl | 0 | 1:1.0.2h-13.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-openssl-debuginfo | 0 | 1:1.0.2h-13.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-openssl-devel | 0 | 1:1.0.2h-13.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-openssl-libs | 0 | 1:1.0.2h-13.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-openssl-perl | 0 | 1:1.0.2h-13.jbcs.el6 |
| Red Hat:jboss_core_services:1::el6 | jbcs-httpd24-openssl-static | 0 | 1:1.0.2h-13.jbcs.el6 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd | 0 | 0:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-debuginfo | 0 | 0:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-devel | 0 | 0:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-libs | 0 | 0:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-manual | 0 | 0:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-selinux | 0 | 0:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-tools | 0 | 0:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_ldap | 0 | 0:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_proxy_html | 0 | 1:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_security | 0 | 0:2.9.1-19.GA.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_security-debuginfo | 0 | 0:2.9.1-19.GA.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_session | 0 | 0:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_ssl | 0 | 1:2.4.23-120.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-openssl | 0 | 1:1.0.2h-13.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-openssl-debuginfo | 0 | 1:1.0.2h-13.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-openssl-devel | 0 | 1:1.0.2h-13.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-openssl-libs | 0 | 1:1.0.2h-13.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-openssl-perl | 0 | 1:1.0.2h-13.jbcs.el7 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-openssl-static | 0 | 1:1.0.2h-13.jbcs.el7 |
| Red Hat:rhel_software_collections:2::el6 | httpd24-httpd | 0 | 0:2.4.25-9.el6 |
| Red Hat:rhel_software_collections:2::el6 | httpd24-httpd-debuginfo | 0 | 0:2.4.25-9.el6 |
| Red Hat:rhel_software_collections:2::el6 | httpd24-httpd-devel | 0 | 0:2.4.25-9.el6 |
| Red Hat:rhel_software_collections:2::el6 | httpd24-httpd-manual | 0 | 0:2.4.25-9.el6 |
| Red Hat:rhel_software_collections:2::el6 | httpd24-httpd-tools | 0 | 0:2.4.25-9.el6 |
| Red Hat:rhel_software_collections:2::el6 | httpd24-mod_ldap | 0 | 0:2.4.25-9.el6 |
| Red Hat:rhel_software_collections:2::el6 | httpd24-mod_proxy_html | 0 | 1:2.4.25-9.el6 |
| Red Hat:rhel_software_collections:2::el6 | httpd24-mod_session | 0 | 0:2.4.25-9.el6 |
| Red Hat:rhel_software_collections:2::el6 | httpd24-mod_ssl | 0 | 1:2.4.25-9.el6 |
| Red Hat:rhel_software_collections:2::el7 | httpd24-httpd | 0 | 0:2.4.25-9.el7 |
| Red Hat:rhel_software_collections:2::el7 | httpd24-httpd-debuginfo | 0 | 0:2.4.25-9.el7 |
| Red Hat:rhel_software_collections:2::el7 | httpd24-httpd-devel | 0 | 0:2.4.25-9.el7 |
| Red Hat:rhel_software_collections:2::el7 | httpd24-httpd-manual | 0 | 0:2.4.25-9.el7 |
| Red Hat:rhel_software_collections:2::el7 | httpd24-httpd-tools | 0 | 0:2.4.25-9.el7 |
| Red Hat:rhel_software_collections:2::el7 | httpd24-mod_ldap | 0 | 0:2.4.25-9.el7 |
| Red Hat:rhel_software_collections:2::el7 | httpd24-mod_proxy_html | 0 | 1:2.4.25-9.el7 |
| Red Hat:rhel_software_collections:2::el7 | httpd24-mod_session | 0 | 0:2.4.25-9.el7 |
| Red Hat:rhel_software_collections:2::el7 | httpd24-mod_ssl | 0 | 1:2.4.25-9.el7 |
| SUSE:Linux Enterprise Server 12 SP1 | apache2 | 0 | 2.4.16-19.1 |
| SUSE:Linux Enterprise Server 12 SP2 | apache2 | 0 | 2.4.23-21.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | apache2 | 0 | 2.4.23-21.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | apache2 | 0 | 2.4.16-19.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | apache2 | 0 | 2.4.23-21.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | apache2 | 0 | 2.4.16-19.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | apache2 | 0 | 2.4.23-21.1 |
| Ubuntu:14.04:LTS | apache2 | 0 | 2.4.7-1ubuntu4.15 |
| Ubuntu:16.04:LTS | apache2 | 0 | 2.4.18-2ubuntu3.2 |
Related vulnerabilities
- CVE-2025-53020 Late Release of Memory after Effective Lifetime vulnerability in Apache HTTP Server. Also affects apache2
- CVE-2025-49630 In certain proxy configurations, a denial of service attack against Apache HTTP Server… Also affects apache2
- CVE-2025-49812 In some mod_ssl configurations on Apache HTTP Server versions through to 2.4.63, an HTTP… Also affects apache2
- CVE-2024-43394 Server-Side Request Forgery (SSRF) in Apache HTTP Server on Windows allows to potentially… Also affects apache2
- CVE-2024-47252 Insufficient escaping of user-supplied data in mod_ssl in Apache HTTP Server 2.4.63 and… Also affects apache2
- CVE-2025-23048 In some mod_ssl configurations on Apache HTTP Server 2.4.35 through to 2.4.63, an access… Also affects apache2
- CVE-2024-42516 HTTP response splitting in the core of Apache HTTP Server allows an attacker who can… Also affects apache2
- CVE-2024-43204 SSRF in Apache HTTP Server with mod_proxy loaded allows an attacker to send outbound… Also affects apache2