Vulnerability DatabaseGHSA-wm25-j4gw-6vr3

GHSA-wm25-j4gw-6vr3
vulnerability analysis and mitigation

Overview

A critical security vulnerability (GHSA-wm25-j4gw-6vr3) was discovered in pREST affecting versions prior to 1.5.4. The vulnerability, identified on July 30, 2024, combines JWT bypass and SQL injection vulnerabilities, allowing unauthorized access to sensitive data. The issue affects the github.com/prest/prest Go module and received a Critical severity rating with a CVSS score of 9.3 (GitHub Advisory).

Technical details

The vulnerability stems from improper JWT token validation and SQL injection in the authentication mechanism. The issue allows attackers to bypass authentication and execute unauthorized SQL queries through malformed URL paths. The vulnerability received a CVSS v4 base score of 9.3, with metrics indicating Network attack vector, Low attack complexity, and No privileges required. The weakness is categorized under CWE-89 (SQL Injection) and CWE-287 (Improper Authentication) (GitHub Advisory).

Impact

The vulnerability allows attackers to bypass authentication controls and execute unauthorized SQL queries, potentially leading to unauthorized access to sensitive data. The CVSS metrics indicate High impact on Confidentiality, Integrity, and Availability of the vulnerable system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.5.4 of pREST. The fix includes updating the JWT regex pattern in the configuration to properly validate authentication tokens (Prest Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management