Summary
Baidu UEditor versions 1.4.0 through 1.4.3.3 allow unrestricted file upload through the catchimage action of controller.ashx, which can lead to unauthenticated remote code execution. The CVSS 4.0 score is 9.3 (critical).
What happened
The catchimage action in /ueditor/net/controller.ashx only validates the Content-Type header of the remote response. According to the description, an unauthenticated attacker can supply a source URL that keeps a malicious file extension and cause the server to write an executable .aspx file, enabling remote code execution. The weakness is classified as CWE-434 (unrestricted upload of file with dangerous type).
Why it matters
The vulnerability is exploitable over the network with no authentication or user interaction, and can severely affect the confidentiality, integrity and availability of the vulnerable system. CNA VulnCheck assigns a CVSS 4.0 score of 9.3 (critical severity; vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N). The description states that the Shadowserver Foundation first observed evidence of exploitation on 2023-10-17; the source does not state that it is listed in CISA's KEV catalog.
Affected products and versions
Baidu UEditor, versions >= 1.4.0 and <= 1.4.3.3 (introduced in 1.4.0; last affected version: 1.4.3.3).
| Product | Versions | Fixed in |
|---|---|---|
| Baidu UEditor | >= 1.4.0, <= 1.4.3.3 | — |
Action recommended by the source
The source does not state a fixed version or a vendor mitigation. The references include technical descriptions and a VulnCheck advisory for further detail.
Sources and references
- https://web.archive.org/web/20190612114715/https://www.freebuf.com/vuls/181814.html — CVE Program
- https://github.com/fex-team/ueditor/blob/v1.4.3.3/net/App_Code/CrawlerHandler.cs — CVE Program
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/ueditor-file-upload.yaml — CVE Program
- https://www.vulncheck.com/advisories/baidu-ueditor-1.4.0-1.4.3.3-unrestricted-file-upload-via-controller-ashx — CVE Program
Weaknesses (CWE): CWE-434
Relevant change history
Published
Advisory published.