GHSA-4r4r-4jp4-wwf9
FUXA has JWT Authentication Bypass via HTTP Referer header spoofing
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @frangoteam/fuxa | <= 1.2.8 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
FUXA 1.2.8 and prior contains an Authentication Bypass vulnerability leading to Remote Code Execution (RCE). The vulnerability exists in the server/api/jwt-helper.js middleware, which improperly trusts the HTTP "Referer" header to validate internal requests. A remote unauthenticated attacker can bypass JWT authentication by spoofing the Referer header to match the server's host. Successful exploitation allows the attacker to access the protected /api/runscript endpoint and execute arbitrary Node.js code on the server.
References
External links from the advisory. They lead to third-party sites.