CVE-2021-21244CWE-74

Pre-Auth SSTI via Bean validation message tampering

Critical 路 published January 15, 2021

CVSS v3.1
10.0
EPSS
2%
Percentile
74.3
In the wild
Unconfirmed
What it is

馃毃 Brace yourselves! A sneaky flaw in OneDev allows pre-auth server-side template injection, opening the door for mischief before you even log in! 馃敟 Think of it like a restaurant where anyone can stroll into the kitchen and change the menu before you even sit down鈥攖otal chaos before you鈥檝e even ordered! An attacker could exploit this vulnerability to inject malicious code, potentially leading to unauthorized access or data leaks before you've even set foot in the app. This is absolutely devastating for both security and trust, as it undermines the very foundation of user authentication!

Put simply

Think of it like a restaurant where anyone can stroll into the kitchen and change the menu before you even sit down鈥攖otal chaos before you鈥檝e even ordered! Before version 4.0.3, OneDev had a vulnerability that enabled pre-auth server-side template injection through tampering with Bean validation messages. Essentially, the application trusted messages that could be manipulated, allowing attackers to craft harmful templates.

What to do

An attacker could exploit this vulnerability to inject malicious code, potentially leading to unauthorized access or data leaks before you've even set foot in the app. This is absolutely devastating for both security and trust, as it undermines the very foundation of user authentication! Immediately upgrade OneDev to version 4.0.3 to disable validation interpolation and close this critical gap. Make sure to review your security settings and monitor for any unauthorized access attempts. Don't let this slip through the cracks! You鈥檝e got this! Patch it up, and you鈥檒l be a security hero in no time! 馃Ω

The record
Technical detail
CVSS v3.1
10.0 路 CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01513 路 74.3th percentile
Weakness
CWE-74 路 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2021-01-15T20:05Z
EPSS history
Timeline
  • 15 JAN 20:05Z
    Pre-Auth SSTI via Bean validation message tampering
    cvelistv5