CVE-2016-0736
published 2017-07-27CVE-2016-0736: 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…
PriorityP183high7.5CVSS 3.0
AVNACLPRNUINSUCHINAN
ITWEXPLOITVulnCheck KEVRansomware
Exploited in the wild
EPSS
49.02%
98.8th percentile
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
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache | http_server | — | — |
| apache_software_foundation | apache_http_server | — | — |
| apple | macos_high_sierra | — | — |
| apple | macos_high_sierra_10.13.1_security_update_2017-001_sierra_and_security_update_20 | — | — |
| apple | macos_sierra_10.12.4_security_update_2017-001_el_capitan_and_security_update_201 | — | — |
| debian | apache2 | < apache2 2.4.25-1 (bookworm) | apache2 2.4.25-1 (bookworm) |
Detection & IOCsextracted from sources · hover to see the quote
- →Detect padding oracle probing by monitoring for high volumes of requests to the same endpoint with slightly modified 'session' cookie values (single base64 character changes at the end of the cookie), correlating with alternating 'username' present / absent response bodies. ↗
- →Alert on the 'X-Replace-Session' response header being present, as this is the mechanism used by the attacker-controlled application to inject arbitrary session content after a successful padding oracle encrypt operation. ↗
- →Flag use of the python-paddingoracle library (PaddingOracle / BadPaddingException imports) in network tooling or scripts found on hosts, as it is the specific library used to automate exploitation of this CVE. ↗
- →Identify Apache HTTP Server versions 2.4.0–2.4.23 running mod_session_crypto; these are confirmed vulnerable. Upgrade to 2.4.25 or later. ↗
- ·The vulnerability is only exploitable when mod_session, mod_session_crypto, and mod_session_cookie are all enabled together. The SessionCryptoPassphrase directive must be set. Deployments not using this combination are not affected. ↗
- ·The default cipher mode is AES256-CBC; CBC mode is specifically what enables the padding oracle attack. ECB mode is also vulnerable but for different reasons. Authenticated encryption (e.g., GCM) was not available prior to the fix. ↗
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vulncheck7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-mxm5-vg5c-rx7v: In Apache HTTP Server versions 2
ghsa_unreviewed·2022-05-13
CVE-2016-0736 [HIGH] GHSA-mxm5-vg5c-rx7v: In Apache HTTP Server versions 2
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.
OSV
CVE-2016-0736: In Apache HTTP Server versions 2
osv·2017-07-27·CVSS 7.5
CVE-2016-0736 [HIGH] CVE-2016-0736: In Apache HTTP Server versions 2
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.
OSV
apache2 vulnerabilities
osv·2017-05-09·CVSS 7.5
CVE-2016-0736 [HIGH] apache2 vulnerabilities
apache2 vulnerabilities
It was discovered that the Apache mod_session_crypto module was encrypting
data and cookies using either CBC or ECB modes. A remote attacker could
possibly use this issue to perform padding oracle attacks. (CVE-2016-0736)
Maksim Malyutin discovered that the Apache mod_auth_digest module
incorrectly handled malicious input. A remote attacker could possibly use
this issue to cause Apache to crash, resulting in a denial of service.
(CVE-2016-2161)
David Dennerline and Régis Leroy discovered that the Apache HTTP Server
incorrectly handled unusual whitespace when parsing requests, contrary to
specifications. When being used in combination with a proxy or backend
server, a remote attacker could possibly use this issue to perform an
injection attack and pollute cache. T
VulnCheck
Apache HTTP Server versions 2.4.0 to 2.4.23 mod_session_crypto Vulnerability
vulncheck·2016·CVSS 7.5
CVE-2016-0736 [HIGH] Apache HTTP Server versions 2.4.0 to 2.4.23 mod_session_crypto Vulnerability
Apache HTTP Server versions 2.4.0 to 2.4.23 mod_session_crypto Vulnerability
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: Apache HTTP Server
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Known Ransomware Campaign Use: Known
Exploitation References: https://info.securin.io/hubfs/Securin%20Ransomware%20Report%202023.pdf
Apple
CVE-2016-0736: macOS High Sierra 10.13.1, Security Update 2017-001 Sierra, and Security Update 2017-004 El Capitan
vendor_apple·2017-10-31·CVSS 7.5
CVE-2016-0736 [HIGH] CVE-2016-0736: macOS High Sierra 10.13.1, Security Update 2017-001 Sierra, and Security Update 2017-004 El Capitan
Apple Security Update: About the security content of macOS High Sierra 10.13.1, Security Update 2017-001 Sierra, and Security Update 2017-004 El Capitan
Product: macOS High Sierra 10.13.1, Security Update 2017-001 Sierra, and Security Update 2017-004 El Capitan
CVE: CVE-2016-0736
Component: CVE-2016-0736
Apple
CVE-2016-0736: macOS High Sierra 10.13
vendor_apple·2017-09-25·CVSS 7.5
CVE-2016-0736 [HIGH] CVE-2016-0736: macOS High Sierra 10.13
Apple Security Update: About the security content of macOS High Sierra 10.13
Product: macOS High Sierra
Version: 10.13
CVE: CVE-2016-0736
Component: CVE-2016-0736
Ubuntu
Apache HTTP Server vulnerabilities
vendor_ubuntu·2017-05-09·CVSS 7.5
CVE-2016-0736 [HIGH] Apache HTTP Server vulnerabilities
Title: Apache HTTP Server vulnerabilities
Summary: Several security issues were fixed in Apache HTTP Server.
It was discovered that the Apache mod_session_crypto module was encrypting
data and cookies using either CBC or ECB modes. A remote attacker could
possibly use this issue to perform padding oracle attacks. (CVE-2016-0736)
Maksim Malyutin discovered that the Apache mod_auth_digest module
incorrectly handled malicious input. A remote attacker could possibly use
this issue to cause Apache to crash, resulting in a denial of service.
(CVE-2016-2161)
David Dennerline and Régis Leroy discovered that the Apache HTTP Server
incorrectly handled unusual whitespace when parsing requests, contrary to
specifications. When being used in combination with a proxy or backend
server, a remote atta
Apple
CVE-2016-0736: macOS Sierra 10.12.4, Security Update 2017-001 El Capitan, and Security Update 2017-001 Yosemite
vendor_apple·2017-03-27·CVSS 7.5
CVE-2016-0736 [HIGH] CVE-2016-0736: macOS Sierra 10.12.4, Security Update 2017-001 El Capitan, and Security Update 2017-001 Yosemite
Apple Security Update: About the security content of macOS Sierra 10.12.4, Security Update 2017-001 El Capitan, and Security Update 2017-001 Yosemite
Product: macOS Sierra 10.12.4, Security Update 2017-001 El Capitan, and Security Update 2017-001 Yosemite
CVE: CVE-2016-0736
Component: CVE-2016-0736
Red Hat
httpd: Padding Oracle in Apache mod_session_crypto
vendor_redhat·2016-12-20·CVSS 7.5
CVE-2016-0736 [HIGH] CWE-287 httpd: Padding Oracle in Apache mod_session_crypto
httpd: Padding Oracle in Apache mod_session_crypto
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.
It was discovered that the mod_session_crypto module of httpd did not use any mechanisms to verify integrity of the encrypted session data stored in the user's browser. A remote attacker could use this flaw to decrypt and modify session data using a padding oracle attack.
Package: httpd (Red Hat Directory Server 8) - Not affected
Package: httpd (Red Hat Enterprise Linux 5) - Not affected
Package: httpd (Red
Debian
CVE-2016-0736: apache2 - In Apache HTTP Server versions 2.4.0 to 2.4.23, mod_session_crypto was encryptin...
vendor_debian·2016·CVSS 7.5
CVE-2016-0736 [HIGH] CVE-2016-0736: apache2 - In Apache HTTP Server versions 2.4.0 to 2.4.23, mod_session_crypto was encryptin...
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.
Scope: local
bookworm: resolved (fixed in 2.4.25-1)
bullseye: resolved (fixed in 2.4.25-1)
forky: resolved (fixed in 2.4.25-1)
sid: resolved (fixed in 2.4.25-1)
trixie: resolved (fixed in 2.4.25-1)
No detection rules found.
Tenable
[R5] SecurityCenter 5.4.3 Fixes Multiple Vulnerabilities
blogs_tenable·2017-02-14
[R5] SecurityCenter 5.4.3 Fixes Multiple Vulnerabilities
## Cloud Exposure
Tenable Cloud Security (CNAPP) Request a demo
Tenable Cloud Vulnerability Management Request a demo
Tenable CIEM Request a demo
Secure your cloud
## Vulnerability Exposure
Tenable Vulnerability Management Try for free
Tenable Security Center Request a demo
Tenable Web App Scanning Try for free
Tenable Patch Management Request a demo
Tenable Enclave Security Request a demo
Tenable Attack Surface Management Request a demo
Tenable Nessus Try for free
## AI Exposure
Tenable AI Exposure Request a demo
## OT/IoT Exposure
Tenable OT Security Request a demo
## Identity Exposure
Tenable Identity Exposure Request a demo
## Business needs
Active Directory
AI Security Posture Management (AI-SPM)
AWS security
Azure security
Cloud Security Posture Man
Bugzilla
CVE-2016-0736 CVE-2016-2161 CVE-2016-8743 httpd: various flaws [fedora-all]
bugzilla·2016-12-21·CVSS 7.5
CVE-2016-0736 [HIGH] CVE-2016-0736 CVE-2016-2161 CVE-2016-8743 httpd: various flaws [fedora-all]
CVE-2016-0736 CVE-2016-2161 CVE-2016-8743 httpd: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fe
Bugzilla
CVE-2016-0736 httpd: Padding Oracle in Apache mod_session_crypto
bugzilla·2016-12-21·CVSS 7.5
CVE-2016-0736 [HIGH] CVE-2016-0736 httpd: Padding Oracle in Apache mod_session_crypto
CVE-2016-0736 httpd: Padding Oracle in Apache mod_session_crypto
It was found that session data/cookies presented to mod_session_crypto were not authenticated that can lead to deciphering or tampering with a padding oracle attack.
Affects version 2.4.x up to 2.4.23
External References:
https://httpd.apache.org/security/vulnerabilities_24.html#2.4.25
https://www.redteam-pentesting.de/advisories/rt-sa-2016-001.txt
Discussion:
Created httpd tracking bugs for this issue:
Affects: fedora-all [bug 1406823]
---
References:
http://seclists.org/fulldisclosure/2016/Dec/74
---
Upstream commit:
http://svn.apache.org/viewvc?view=revision&revision=1772925
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2017:0906 https://access.redhat.com/
http://rhn.redhat.com/errata/RHSA-2017-1415.htmlhttp://www.debian.org/security/2017/dsa-3796http://www.securityfocus.com/bid/95078http://www.securitytracker.com/id/1037508https://access.redhat.com/errata/RHSA-2017:0906https://access.redhat.com/errata/RHSA-2017:1161https://access.redhat.com/errata/RHSA-2017:1413https://access.redhat.com/errata/RHSA-2017:1414https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03725en_ushttps://httpd.apache.org/security/vulnerabilities_24.html#CVE-2016-0736https://lists.apache.org/thread.html/56c2e7cc9deb1c12a843d0dc251ea7fd3e7e80293cde02fcd65286ba%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/84a3714f0878781f6ed84473d1a503d2cc382277e100450209231830%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/r04e89e873d54116a0635ef2f7061c15acc5ed27ef7500997beb65d6f%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/r76142b8c5119df2178be7c2dba88fde552eedeec37ea993dfce68d1d%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rb14daf9cc4e28d18cdc15d6a6ca74e565672fabf7ad89541071d008b%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rc998b18880df98bafaade071346690c2bc1444adaa1a1ea464b93f0a%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rcc44594d4d6579b90deccd4536b5d31f099ef563df39b094be286b9e%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rd18c3c43602e66f9cdcf09f1de233804975b9572b0456cc582390b6f%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/re1e3a24664d35bcd0a0e793e0b5fc6ca6c107f99a1b2c545c5d4b467%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/re3d27b6250aa8548b8845d314bb8a350b3df326cacbbfdfe4d455234%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3Ehttps://security.gentoo.org/glsa/201701-36https://security.netapp.com/advisory/ntap-20180423-0001/https://support.apple.com/HT208221https://www.exploit-db.com/exploits/40961/https://www.tenable.com/security/tns-2017-04http://rhn.redhat.com/errata/RHSA-2017-1415.htmlhttp://www.debian.org/security/2017/dsa-3796http://www.securityfocus.com/bid/95078http://www.securitytracker.com/id/1037508https://access.redhat.com/errata/RHSA-2017:0906https://access.redhat.com/errata/RHSA-2017:1161https://access.redhat.com/errata/RHSA-2017:1413https://access.redhat.com/errata/RHSA-2017:1414https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03725en_ushttps://httpd.apache.org/security/vulnerabilities_24.html#CVE-2016-0736https://lists.apache.org/thread.html/56c2e7cc9deb1c12a843d0dc251ea7fd3e7e80293cde02fcd65286ba%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/84a3714f0878781f6ed84473d1a503d2cc382277e100450209231830%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/r04e89e873d54116a0635ef2f7061c15acc5ed27ef7500997beb65d6f%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/r76142b8c5119df2178be7c2dba88fde552eedeec37ea993dfce68d1d%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rb14daf9cc4e28d18cdc15d6a6ca74e565672fabf7ad89541071d008b%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rc998b18880df98bafaade071346690c2bc1444adaa1a1ea464b93f0a%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rcc44594d4d6579b90deccd4536b5d31f099ef563df39b094be286b9e%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rd18c3c43602e66f9cdcf09f1de233804975b9572b0456cc582390b6f%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/re1e3a24664d35bcd0a0e793e0b5fc6ca6c107f99a1b2c545c5d4b467%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/re3d27b6250aa8548b8845d314bb8a350b3df326cacbbfdfe4d455234%40%3Ccvs.httpd.apache.org%3Ehttps://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3Ehttps://security.gentoo.org/glsa/201701-36https://security.netapp.com/advisory/ntap-20180423-0001/https://support.apple.com/HT208221https://www.exploit-db.com/exploits/40961/https://www.tenable.com/security/tns-2017-04
2017-07-27
Published
Exploited in the wild