Aim vulnerable to Cross-Site Request Forgery
The Aim tracking server has overly permissive CORS settings that allow requests from any origin, enabling cross-site request forgery on all endpoints. An attacker could chain this with other vulnerabilities to achieve remote code execution, denial of service, or arbitrary file read/write.
aim
Originally disclosed on huntr
aimhubio/aim version 3.22.0 contains a Cross-Site Request Forgery (CSRF) vulnerability in the tracking server. The vulnerability is due to overly permissive CORS settings, allowing cross-origin requests from all origins. This enables CSRF attacks on all endpoints of the tracking server, which can be chained with other existing vulnerabilities such as remote code execution, denial of service, and arbitrary file read/write.
From the GitHub Advisory Database (GHSA-38r9-3j52-h92v, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server's CORS configuration reflects or allows any origin without proper restrictions, so browsers permit cross-origin requests with credentials.
Impact
An attacker could perform CSRF attacks on all endpoints, which may be chained with other vulnerabilities to achieve remote code execution, denial of service, or arbitrary file read/write.
What the attacker needed
Victim visits a malicious page; Aim tracking server is running
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
CORS is a browser rule that controls which websites can talk to a server. Here the server said yes to every website, so a malicious page could make your browser send commands to the Aim server as if you did them. That is called cross-site request forgery, and it can be combined with other bugs to do serious damage.
What is CORS?
A permissive cross-origin policy lets another site read responses with the user's credentials.