CVE-2023-50461: Directmailteam/direct mail Configuration Injection Vulnerability
HIGHCVE-2023-50461 is a HIGH (CVSS 8.8) configuration injection vulnerability (General Security Weakness) affecting Directmailteam/direct mail libraries in the Packagist ecosystem. The issue involves configuration injection in extension "direct mail" (direct_mail). Remediation is available by upgrading affected packages to version 9.5.2, 7.0.3, 6.0.3.
CVE-2023-50461 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-50461
To remediate this vulnerability, upgrade all affected Directmailteam/direct mail dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade directmailteam/direct-mail to 9.5.2
Upgrade directmailteam/direct-mail to 7.0.3
Upgrade directmailteam/direct-mail to 6.0.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for directmailteam/direct-mail
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-50461, inspect your project dependencies for Directmailteam/direct mail:
inspect dependencies for directmailteam/direct-mail
Analyze the terminal output to locate any version of Directmailteam/direct mail in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.5.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Directmailteam/direct mail, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-50461 Affected Directmailteam/direct mail Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
directmailteam/direct-mail
|
Packagist |
≥ 8.0.0
< 9.5.2
|
9.5.2
|
|
directmailteam/direct-mail
|
Packagist |
≥ 7.0.0
< 7.0.3
|
7.0.3
|
|
directmailteam/direct-mail
|
Packagist |
< 6.0.3
|
6.0.3
|
References
Frequently Asked Questions
What is CVE-2023-50461?
Which Directmailteam/direct mail versions are affected?
What version fixes CVE-2023-50461?
Is directmailteam/direct-mail affected?
What is the CVSS score of CVE-2023-50461?
What CWE is associated with CVE-2023-50461?
How can I check Packagist dependencies for CVE-2023-50461?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p6xx-fhfw-7mj7",
"modified" : "2023-12-13T23:10:38Z",
"published" : "2023-12-13T23:10:38Z",
"aliases" : [ "CVE-2023-50461" ],
"summary" : "Configuration Injection in extension \"Direct Mail\" (direct_mail)",
"details" : "The “Configuration” backend module of the extension allows an authenticated user to write arbitrary page TSConfig for folders configured as “Direct Mail”. Exploiting the vulnerability may lead to Configuration Injection (TYPO3 10.4 and above) and to Arbitrary Code Execution (TYPO3 9.5 and below).\n\nA valid backend user account having access to the Direct Mail \"Configuration\" backend module is needed in order to exploit this vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "directmailteam/direct-mail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "9.5.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "directmailteam/direct-mail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.0.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "directmailteam/direct-mail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/directmailteam/direct-mail/CVE-2023-50461.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kartolo/direct_mail"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-ext-sa-2023-011"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-12-13T23:10:38Z",
"nvd_published_at" : null
}
}