OESA-2021-1065 (CVE-2020-7070)
Vulnerability from osv_openeuler – Published: 2021-03-05 11:04 – Updated: 2026-08-06 11:04 – Source websitePHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated web pages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts. The php package contains the module (often referred to as mod_php) which adds support for the PHP language to Apache HTTP Server.
Security Fix(es):
In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.(CVE-2020-7070)
In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data.(CVE-2020-7069)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"php-snmp-7.2.10-12.oe1.aarch64.rpm",
"php-help-7.2.10-12.oe1.aarch64.rpm",
"php-pgsql-7.2.10-12.oe1.aarch64.rpm",
"php-process-7.2.10-12.oe1.aarch64.rpm",
"php-dbg-7.2.10-12.oe1.aarch64.rpm",
"php-bcmath-7.2.10-12.oe1.aarch64.rpm",
"php-common-7.2.10-12.oe1.aarch64.rpm",
"php-dba-7.2.10-12.oe1.aarch64.rpm",
"php-embedded-7.2.10-12.oe1.aarch64.rpm",
"php-odbc-7.2.10-12.oe1.aarch64.rpm",
"php-debuginfo-7.2.10-12.oe1.aarch64.rpm",
"php-7.2.10-12.oe1.aarch64.rpm",
"php-mysqlnd-7.2.10-12.oe1.aarch64.rpm",
"php-mbstring-7.2.10-12.oe1.aarch64.rpm",
"php-opcache-7.2.10-12.oe1.aarch64.rpm",
"php-recode-7.2.10-12.oe1.aarch64.rpm",
"php-debugsource-7.2.10-12.oe1.aarch64.rpm",
"php-xmlrpc-7.2.10-12.oe1.aarch64.rpm",
"php-ldap-7.2.10-12.oe1.aarch64.rpm",
"php-xml-7.2.10-12.oe1.aarch64.rpm",
"php-fpm-7.2.10-12.oe1.aarch64.rpm",
"php-tidy-7.2.10-12.oe1.aarch64.rpm",
"php-gd-7.2.10-12.oe1.aarch64.rpm",
"php-gmp-7.2.10-12.oe1.aarch64.rpm",
"php-json-7.2.10-12.oe1.aarch64.rpm",
"php-devel-7.2.10-12.oe1.aarch64.rpm",
"php-cli-7.2.10-12.oe1.aarch64.rpm",
"php-pdo-7.2.10-12.oe1.aarch64.rpm",
"php-enchant-7.2.10-12.oe1.aarch64.rpm",
"php-soap-7.2.10-12.oe1.aarch64.rpm",
"php-intl-7.2.10-12.oe1.aarch64.rpm"
],
"src": [
"php-7.2.10-12.oe1.src.rpm"
],
"x86_64": [
"php-help-7.2.10-12.oe1.x86_64.rpm",
"php-dbg-7.2.10-12.oe1.x86_64.rpm",
"php-devel-7.2.10-12.oe1.x86_64.rpm",
"php-opcache-7.2.10-12.oe1.x86_64.rpm",
"php-pdo-7.2.10-12.oe1.x86_64.rpm",
"php-gd-7.2.10-12.oe1.x86_64.rpm",
"php-gmp-7.2.10-12.oe1.x86_64.rpm",
"php-process-7.2.10-12.oe1.x86_64.rpm",
"php-mbstring-7.2.10-12.oe1.x86_64.rpm",
"php-soap-7.2.10-12.oe1.x86_64.rpm",
"php-embedded-7.2.10-12.oe1.x86_64.rpm",
"php-odbc-7.2.10-12.oe1.x86_64.rpm",
"php-7.2.10-12.oe1.x86_64.rpm",
"php-snmp-7.2.10-12.oe1.x86_64.rpm",
"php-tidy-7.2.10-12.oe1.x86_64.rpm",
"php-debuginfo-7.2.10-12.oe1.x86_64.rpm",
"php-common-7.2.10-12.oe1.x86_64.rpm",
"php-enchant-7.2.10-12.oe1.x86_64.rpm",
"php-bcmath-7.2.10-12.oe1.x86_64.rpm",
"php-json-7.2.10-12.oe1.x86_64.rpm",
"php-cli-7.2.10-12.oe1.x86_64.rpm",
"php-fpm-7.2.10-12.oe1.x86_64.rpm",
"php-intl-7.2.10-12.oe1.x86_64.rpm",
"php-debugsource-7.2.10-12.oe1.x86_64.rpm",
"php-dba-7.2.10-12.oe1.x86_64.rpm",
"php-xml-7.2.10-12.oe1.x86_64.rpm",
"php-pgsql-7.2.10-12.oe1.x86_64.rpm",
"php-recode-7.2.10-12.oe1.x86_64.rpm",
"php-mysqlnd-7.2.10-12.oe1.x86_64.rpm",
"php-xmlrpc-7.2.10-12.oe1.x86_64.rpm",
"php-ldap-7.2.10-12.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS",
"name": "php",
"purl": "pkg:rpm/openEuler/php\u0026distro=openEuler-20.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.2.10-12.oe1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "Medium"
},
"details": "PHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated web pages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts. The php package contains the module (often referred to as mod_php) which adds support for the PHP language to Apache HTTP Server.\r\n\r\nSecurity Fix(es):\r\n\r\nIn PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.(CVE-2020-7070)\r\n\r\nIn PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data.(CVE-2020-7069)",
"id": "OESA-2021-1065",
"modified": "2026-08-06T11:04:17Z",
"published": "2021-03-05T11:04:17Z",
"references": [
{
"type": "ADVISORY",
"url": "https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1065"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7070"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7069"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "php security update",
"upstream": [
"CVE-2020-7070",
"CVE-2020-7069"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.