SimpleSAMLphp up to 1.14.11 Crypto.php aesEncrypt inadequate encryption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.5 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in SimpleSAMLphp up to 1.14.11. Affected by this vulnerability is the function aesEncrypt in the library lib/SimpleSAML/Utils/Crypto.php. The manipulation leads to inadequate encryption.
This vulnerability is listed as CVE-2017-12871. The attack may be initiated remotely. There is no available exploit.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Details
A vulnerability was found in SimpleSAMLphp up to 1.14.11. It has been rated as critical. This issue affects the function aesEncrypt in the library lib/SimpleSAML/Utils/Crypto.php. The manipulation with an unknown input leads to a inadequate encryption vulnerability. Using CWE to declare the problem leads to CWE-326. The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for context-dependent attackers to bypass the encryption protection mechanism by leveraging use of the first 16 bytes of the secret key as the initialization vector (IV).
The bug was discovered 03/29/2016. The weakness was presented 09/01/2017 (GitHub Repository). The advisory is shared at github.com. The identification of this vulnerability is CVE-2017-12871 since 08/15/2017. The exploitation is known to be difficult. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1600 for this issue.
The vulnerability was handled as a non-public zero-day exploit for at least 521 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:lib/SimpleSAML/Utils/Crypto.php it is possible to find vulnerable targets with Google Hacking.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
See VDB-106075, VDB-106074, VDB-106071 and VDB-106070 for similar entries. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.7VulDB Meta Temp Score: 5.6
VulDB Base Score: 5.6
VulDB Temp Score: 5.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.9
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Inadequate encryptionCWE: CWE-326 / CWE-310
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Patch: github.com
Timeline
03/29/2016 🔍08/15/2017 🔍
09/01/2017 🔍
09/01/2017 🔍
09/02/2017 🔍
12/27/2022 🔍
Sources
Product: github.comAdvisory: 77df6a932d46daa35e364925eb73a175010dc904
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-12871 (🔍)
GCVE (CVE): GCVE-0-2017-12871
GCVE (VulDB): GCVE-100-106073
See also: 🔍
Entry
Created: 09/02/2017 09:47 AMUpdated: 12/27/2022 03:13 PM
Changes: 09/02/2017 09:47 AM (51), 11/12/2019 04:38 PM (8), 12/27/2022 03:13 PM (5)
Complete: 🔍
Cache ID: 244:2DA:40
No comments yet. Languages: en.
Please log in to comment.