Magnesium-PHP up to 0.3.0 Base.php formatEmailString email/name injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.6 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in Magnesium-PHP up to 0.3.0. The impacted element is the function formatEmailString of the file src/Magnesium/Message/Base.php. The manipulation of the argument email/name results in injection. This vulnerability only affects products that are no longer supported by the maintainer.
This vulnerability is reported as CVE-2017-20187. No exploit exists.
Upgrading the affected component is advised.
Details
A vulnerability was found in Magnesium-PHP up to 0.3.0 (Programming Language Software). It has been classified as problematic. Affected is the function formatEmailString of the file src/Magnesium/Message/Base.php. The manipulation of the argument email/name with an unknown input leads to a injection vulnerability. CWE is classifying the issue as 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. This is going to have an impact on integrity.
The weakness was disclosed 05/26/2017 as 500d340e1f6421007413cc08a8383475221c2604. The advisory is available at github.com. This vulnerability is traded as CVE-2017-20187. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1055 by the MITRE ATT&CK project.
By approaching the search of inurl:src/Magnesium/Message/Base.php it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 0.3.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 500d340e1f6421007413cc08a8383475221c2604 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability. The advisory contains the following remark:
Fix exploit of user's names/emails breaking "To"
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
License
Support
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.6VulDB Meta Temp Score: 5.6
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 3.5
CNA Vector (VulDB): 🔍
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: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Magnesium-PHP 0.3.1
Patch: 500d340e1f6421007413cc08a8383475221c2604
Timeline
05/26/2017 🔍05/26/2017 🔍
11/04/2023 🔍
11/04/2023 🔍
06/05/2024 🔍
Sources
Advisory: 500d340e1f6421007413cc08a8383475221c2604Status: Confirmed
CVE: CVE-2017-20187 (🔍)
GCVE (CVE): GCVE-0-2017-20187
GCVE (VulDB): GCVE-100-244482
Entry
Created: 11/04/2023 14:49Updated: 06/05/2024 17:09
Changes: 11/04/2023 14:49 (47), 12/02/2023 08:14 (2), 12/02/2023 08:17 (28), 06/05/2024 17:09 (22)
Complete: 🔍
Cache ID: 216:68A:103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.