---
cve: "CVE-2021-21247"
severity: "CRITICAL"
cvss: 9.6
epss: "1.5%"
vendor: "theonedev"
kev: false
exploited: false
published: "2021-01-15 20:10:40"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-08T00:23:01+02:00"
---

# CVE-2021-21247

> 9.6 CRITICAL · 🧪 PoC

## Beschreibung

OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, the application's BasePage registers an AJAX event listener (`AbstractPostAjaxBehavior`) in all pages other than the login page. This listener decodes and deserializes the `data` query parameter. We can access this listener by submitting a POST request to any page. This issue may lead to `post-auth RCE` This endpoint is subject to authentication and, therefore, requires a valid user to carry on the attack. This issue was addressed in 4.0.3 by encrypting serialization payload with secrets only known to server.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 4bd71941974a1b077e955616d7ba3da6fd21670c (Commit)

## Referenzen

- <https://github.com/theonedev/onedev/security/advisories/GHSA-6pxf-75cf-vwjp>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2021-21247) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
