Remote code execution via unrestricted REST upload
Published Apr 12, 2024 · Updated Apr 28, 2026
Unrestricted file upload in Jordy Meow AI Engine 1.9.98 and earlier allows remote attackers to execute PHP code on WordPress sites. The rest_upload handler on the mwai-ui/v1/files/upload REST route accepts every caller, derives a server path from the submitted filename, and passes the upload to move_uploaded_file without validating its type or extension. The flaw is reachable without authentication on a default installation; a PHP payload can become a web shell with the WordPress server account's privileges.
Summary
What happened
Unrestricted file upload in Jordy Meow AI Engine 1.9.98 and earlier allows remote attackers to execute PHP code on WordPress sites. The rest_upload handler on the mwai-ui/v1/files/upload REST route accepts every caller, derives a server path from the submitted filename, and passes the upload to move_uploaded_file without validating its type or extension. The flaw is reachable without authentication on a default installation; a PHP payload can become a web shell with the WordPress server account's privileges.
The record
- CVE
- CVE-2023-51409
- Published
- Apr 12, 2024
- Updated
- Apr 28, 2026
- Vendor
- Jordy Meow
- Product
- AI Engine
- Classifications
- CWE-434, T1190, T1505.003
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 12, 2024CVE publishedPublication date reported by the CVE source.
- Apr 28, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.0.1 <=1.9.98
- Affected versionversion=n/a <=1.9.98 changes=[{"at":"1.9.99","status":"unaffected"}]
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- 0-click RCE Exploit for CVE-2023-51409functional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo