Code Injection in Drupal - CVE-2022-25277

 

Code Injection in Drupal - CVE-2022-25277

Published: July 21, 2022


Vulnerability identifier: #VU65635
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-25277
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to improper sanitization of certain filenames on uploaded files with an "htaccess" extension. A remote administrator can execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Drupal

How to mitigate CVE-2022-25277

Install updates from vendor's website.

Drupal - addressed in versions 9.3.19, 9.4.3

External References

Related Security Bulletins