CodeIgniter up to 3.1.2 Sendmail Email.php email->from injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in CodeIgniter up to 3.1.2 and classified as critical. Affected is an unknown function in the library system/libraries/Email.php of the component Sendmail Handler. Such manipulation of the argument email->from leads to injection. This vulnerability is traded as CVE-2016-10131. The attack may be launched remotely. There is no exploit available. It is suggested to upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in CodeIgniter up to 3.1.2. Affected by this issue is an unknown code in the library system/libraries/Email.php of the component Sendmail Handler. The manipulation of the argument email->from with an unknown input leads to a injection vulnerability. Using CWE to declare the problem leads to CWE-74. The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:
system/libraries/Email.php in CodeIgniter before 3.1.3 allows remote attackers to execute arbitrary code by leveraging control over the email->from field to insert sendmail command-line arguments.
The bug was discovered 03/24/2017. The weakness was shared 01/12/2017 (GitHub Repository). The advisory is shared for download at gist.github.com. This vulnerability is handled as CVE-2016-10131 since 01/12/2017. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1055.
By approaching the search of inurl:system/libraries/Email.php it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 3.1.3 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 96851†). Once again VulDB remains the best source for vulnerability data.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.1
VulDB Base Score: 7.3
VulDB Temp Score: 6.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
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: InjectionCWE: CWE-74 / CWE-707 / CWE-20
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: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: CodeIgniter 3.1.3
Patch: github.com
Timeline
01/12/2017 🔍01/12/2017 🔍
01/12/2017 🔍
01/12/2017 🔍
01/12/2017 🔍
03/24/2017 🔍
10/28/2022 🔍
Sources
Advisory: 4963Status: Not defined
CVE: CVE-2016-10131 (🔍)
GCVE (CVE): GCVE-0-2016-10131
GCVE (VulDB): GCVE-100-95204
SecurityFocus: 96851 - CodeIgniter 'system/libraries/Email.php' Remote Code Execution Vulnerability
Entry
Created: 01/12/2017 13:26Updated: 10/28/2022 12:55
Changes: 01/12/2017 13:26 (59), 12/29/2019 21:16 (4), 10/28/2022 12:55 (4)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.