PRIOn Logo

CVE-2022-29464 Unrestricted file upload

Immediate
Remediate Within 48 Hours

CVE Information

Original CVE data

Published:
Updated:

Certain WSO2 products allow unrestricted file upload with resultant remote code execution. The attacker must use a /fileupload endpoint with a Content-Disposition directory traversal sequence to reach a directory under the web root, such as a ../../../../repository/deployment/server/webapps directory. This affects WSO2 API Manager 2.2.0 up to 4.0.0, WSO2 Identity Server 5.2.0 up to 5.11.0, WSO2 Identity Server Analytics 5.4.0, 5.4.1, 5.5.0 and 5.6.0, WSO2 Identity Server as Key Manager 5.3.0 up to 5.11.0, WSO2 Enterprise Integrator 6.2.0 up to 6.6.0, WSO2 Open Banking AM 1.4.0 up to 2.0.0 and WSO2 Open Banking KM 1.4.0, up to 2.0.0.

CWE: CWE-22
CVSS v210
AV:N/AC:L/AU:N/C:C/I:C/A:C
CVSS v39.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
http://www.openwall.com/lists/oss-security/2022/04/22/7
https://github.com/hakivvi/CVE-2022-29464
http://packetstormsecurity.com/files/166921/WSO-Arbitrary-File-Upload-Remote-Code-Execution.html
https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1738/
Affected Vendors

Wso2 - (5)

Basic Analysis

Common vulnerability metrics

Vulnerabilty type as detected by PRIOnengine

Unrestricted file upload

CVSS Scores as calculated by PRIOnengine
CVSS v26.5
AV:N/AC:L/AU:S/C:P/I:P/A:P
CVSS v37.2
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
MITRE CWE Top 25

Vulnerability weakness type is in the top 25 CWEs according to MITRE. View Mitre Top 25 CWEs

Exploits

Exploits are available either through exploit packs, Github repos or the world wide web in general.

Active Exploitation

Vulnerability is referenced under CISA's Known Exploited Vulnerabilities (KEV) catalog. See the KEV Catalog

Social Network Activity

Vulnerability is mentioned or trending in social media.

Threat Actor Activity

Vulnerability is being actively exploited by threat actors during campaigns.

Cybersecurity Frameworks

How the vulnerability maps against various cybersecurity frameworks

T1608 - Stage Capabilities
T1587.004 - Develop Capabilities (Exploits)
T1505.003 - Server Software Component (Web Shell)
T1499.004 - Endpoint Denial of Service (Application or System Exploitation)
T1210 - Exploitation of Remote Services
T1203 - Exploitation for Client Execution
T1190 - Exploit Public-Facing Application
T1083 - File and Directory Discovery
T1059 - Command and Scripting Interpreter
T1005 - Data from Local System

Compliance Impact

How the submited vulnerability affects compliance

-

Web Application Security Frameworks

Applicable if the issue likely affects a web application

WASC-38 - URL Redirector Abuse