CVE-2018-25443: Baidu UEditor · Arbitrary file write
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-18
Description
Baidu UEditor 1.4.0 through 1.4.3.3 contains an unrestricted file upload vulnerability in the catchimage action of /ueditor/net/controller.ashx that only validates the Content-Type header. Unauthenticated attackers can supply a source[] URL like x.jpg?.aspx to retain a malicious extension and write an executable .aspx file for remote code execution. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-17.
Enclave's analysis
This is an unauthenticated file-upload bug in the .NET build of Baidu UEditor: the image-crawler endpoint only checks the Content-Type header returned by the URL it fetches, so an attacker's own server can lie and get a working .aspx web shell written straight into the web root. One crafted HTTP POST is enough, no login needed. The exact technique has circulated publicly since 2018 and Shadowserver reported exploitation activity against it in 2023. The upstream project is archived with no patch, so fixing it means removing or hardening the endpoint and blocking outbound fetches yourself.
Fix
No fixed version in the CVE record yet. Follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| UEditor | 1.4.0 through 1.4.3.3 | Not listed |
| Baidu UEditor (.NET build) | 1.4.0 through 1.4.3.3 | Not listed |