CVE-2021-37840
Last modified
CVE-2021-37840 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within WebSocket messages at a ws:// URL for /webssh (the victim must have configured Terminal with at least one host). Successful exploitation depends on the browser used by a potential victim (e.g., exploitation can occur with Firefox but not Chrome).. EPSS estimates a 1.66% chance of exploitation in the next 30 days.
Description
aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within WebSocket messages at a ws:// URL for /webssh (the victim must have configured Terminal with at least one host). Successful exploitation depends on the browser used by a potential victim (e.g., exploitation can occur with Firefox but not Chrome).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Aapanel | Aapanel | <= 6.8.12 |
References
- https://github.com/aaPanel/aaPanel/issues/74Exploit, Third Party Advisory
- https://ssd-disclosure.com/ssd-advisory-aapanel-cswh-to-rce/Exploit, Third Party Advisory
- https://github.com/aaPanel/aaPanel/issues/74Exploit, Third Party Advisory
- https://ssd-disclosure.com/ssd-advisory-aapanel-cswh-to-rce/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-37840?
How severe is CVE-2021-37840?
How do I fix CVE-2021-37840?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-37823OpenCart 3.0.3.7 allows users to obtain database information…4.9
- CVE-2021-3783yourls is vulnerable to Improper Neutralization of Input Dur…6.1
- CVE-2021-37832A SQL injection vulnerability exists in version 3.0.2 of Hot…9.8
- CVE-2021-37833A reflected cross-site scripting (XSS) vulnerability exists …6.1
- CVE-2021-37839Apache Superset up to 1.5.1 allowed for authenticated users …4.3
- CVE-2021-3784Garuda Linux performs an insecure user creation and authenti…7
- CVE-2021-37841Docker Desktop before 3.6.0 suffers from incorrect access co…7.8
- CVE-2021-37842metakv in Couchbase Server 7.0.0 uses Cleartext for Storage …7.5
- CVE-2021-37843The resolution SAML SSO apps for Atlassian products allow a …9.8
- CVE-2021-37845An issue was discovered in Citadel through webcit-932. A med…3.7
- CVE-2021-37847crypto/digest.c in Pengutronix barebox through 2021.07.0 lea…7.5
- CVE-2021-37848common/password.c in Pengutronix barebox through 2021.07.0 l…7.5
Are you affected by CVE-2021-37840?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
