CVE-2021-37840 Cross-site request forgery in n/a

High 8.8 Published Updated

Cross-Site WebSocket Hijacking in aaPanel allows attackers to execute OS commands if the victim has configured a terminal host.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-37840?

CVE-2021-37840 is a high-severity vulnerability in n/a, published on 2 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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).

Which versions are affected by CVE-2021-37840?

It affects 1 product.

Products include Aapanel Aapanel.

How do I fix CVE-2021-37840?

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

Is CVE-2021-37840 being exploited?

There is no known exploitation of CVE-2021-37840 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-r4vq-r3rv-8p3p.

Is CVE-2021-37840 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free