# CVE-2025-52353: Badaso CMS file upload vulnerability

> Authenticated attackers can upload malicious PHP files to Badaso CMS, leading to arbitrary code execution and full host compromise.

- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 26 Aug 2025
- **Updated:** 28 Aug 2025
- **Also known as:** GHSA-gqp9-jh35-439m

## What is CVE-2025-52353?

CVE-2025-52353 is a critical vulnerability in n/a, published on 26 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

An arbitrary code execution vulnerability in Badaso CMS 2.9.11. The Media Manager allows authenticated users to upload files containing embedded PHP code via the file-upload endpoint, bypassing content-type validation. When such a file is accessed via its URL, the server executes the PHP payload, enabling an attacker to run arbitrary system commands and achieve full compromise of the underlying host. This has been demonstrated by embedding a backdoor within a PDF and renaming it with a .php extension.

Weakness: CWE-434 (Unrestricted Upload of File with Dangerous Type)

## Which versions are affected by CVE-2025-52353?

2 open source packages ship an affected version, including badaso/core. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `badaso/core` | Packagist | All versions to 2.9.11 | None |
| `badaso/core` | Packagist | All versions to 2.9.11 | None |

Products: Uatech Badaso.

## How do I fix CVE-2025-52353?

No fix has been published for CVE-2025-52353 yet. Limit exposure of the affected software until one is available.

## Is CVE-2025-52353 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52353 exists.

## Other vulnerabilities in n/a

- [CVE-2022-41705](https://insights.sbomify.com/CVE-2022-41705/): Badaso vulnerable to Remote Code Execution (RCE) (critical 9.8)
- [CVE-2022-41711](https://insights.sbomify.com/CVE-2022-41711/): Badaso vulnerable to Remote Code Execution via malicious file upload (critical 9.8)
- [CVE-2025-15398](https://insights.sbomify.com/CVE-2025-15398/): Uasoft badaso Token BadasoAuthController.php forgetPassword password recovery (medium 6.3)
- [CVE-2023-38970](https://insights.sbomify.com/CVE-2023-38970/): Badaso vulnerable to cross-site scripting (medium 5.4)
- [CVE-2023-38971](https://insights.sbomify.com/CVE-2023-38971/): Cross-site scripting in n/a (medium 5.4)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-52353 and fix it if it is affected.

What it is: CVE-2025-52353 is a critical vulnerability in n/a, published on 26 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52353 exists.

Affected packages and fixed versions:
- badaso/core (Packagist): affected all versions up to 2.9.11; no fix listed
- badaso/core (Packagist): affected all versions up to 2.9.11; no fix listed

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-52353/ (Markdown: https://insights.sbomify.com/CVE-2025-52353/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-52353
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-52353
- OSV: https://osv.dev/vulnerability/CVE-2025-52353

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-52353/
Summaries are generated and may contain mistakes; the official description above is the record.
