CVE-2021-38167
Roxy-WI vulnerability analysis and mitigation

Overview

Roxy-WI through version 5.2.2.0 contains a SQL Injection vulnerability in the check_login functionality (CVE-2021-38167). The vulnerability allows an unauthenticated attacker to extract a valid UUID to bypass authentication (GitHub Issue). This vulnerability was discovered and disclosed on August 7, 2021 (NVD).

Technical details

The vulnerability exists in the checklogin() function within /app/sql.py where SQL statements have user-controlled input supplied directly into SQL queries. Specifically, the uuid cookie value is directly inserted into the SQL query without proper sanitization in the updatelastactuser() function. The vulnerability has been assigned a CVSS v3.1 Base Score of 9.8 CRITICAL with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

A successful exploitation of this vulnerability allows an unauthenticated attacker to perform blind SQL injection to dump the database or extract a valid UUID, which can then be used to bypass authentication completely. This gives the attacker unauthorized access to the application with potentially elevated privileges (GitHub Issue).

Mitigation and workarounds

Users should upgrade to a version newer than 5.2.2.0 if available. The vulnerability affects all versions through 5.2.2.0 (NVD).

Additional resources


SourceThis report was generated using AI

Related Roxy-WI vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-43804HIGH8.8
  • Roxy-WIRoxy-WI
  • cpe:2.3:a:roxy-wi:roxy-wi
NoNoAug 29, 2024
CVE-2023-25803HIGH7.5
  • Roxy-WIRoxy-WI
  • cpe:2.3:a:roxy-wi:roxy-wi
NoYesMar 13, 2023
CVE-2023-25802HIGH7.5
  • Roxy-WIRoxy-WI
  • cpe:2.3:a:roxy-wi:roxy-wi
NoYesMar 13, 2023
CVE-2023-29004MEDIUM6.5
  • Roxy-WIRoxy-WI
  • cpe:2.3:a:roxy-wi:roxy-wi
NoNoApr 17, 2023
CVE-2023-25804MEDIUM5.3
  • Roxy-WIRoxy-WI
  • cpe:2.3:a:roxy-wi:roxy-wi
NoYesMar 15, 2023

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