CVE-2020-28246

A Server-Side Template Injection (SSTI) was discovered in Form.io 2.0.0

Critical · published May 31, 2022

CVSS v3.1
9.8
EPSS
2%
Percentile
84.2
In the wild
Unconfirmed
What it is

🚨 A sneaky Server-Side Template Injection in Form.io could lead to Remote Code Execution just by touching the default Email template URL. 🔥 Imagine a restaurant where the chef can whip up any dish just by reading a menu—no checks, just straight to the kitchen! This SSTI lets an admin do exactly that, executing malicious code while deleting the email template. If exploited, an attacker could execute arbitrary code on the server, effectively giving them the keys to the entire kitchen. This means they could change settings, access sensitive data, or even wipe important files, leading to devastating consequences for your application and users.

Put simply

Imagine a restaurant where the chef can whip up any dish just by reading a menu—no checks, just straight to the kitchen! This SSTI lets an admin do exactly that, executing malicious code while deleting the email template. CVE-2020-28246 is a Server-Side Template Injection vulnerability in Form.io 2.0.0 that allows for Remote Code Execution through the manipulation of the email template URL during the deletion process.

What to do

If exploited, an attacker could execute arbitrary code on the server, effectively giving them the keys to the entire kitchen. This means they could change settings, access sensitive data, or even wipe important files, leading to devastating consequences for your application and users. To protect your system, immediately upgrade to a patched version after 2020 or consider alternative templating methods. Review your security settings and restrict admin permissions to limit exposure. Always validate and sanitize inputs! You've got this! With the right steps, you can lock this down and keep your system secure! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02436 · 84.2th percentile
Published
2022-05-31T00:00Z
EPSS history
Timeline
  • 31 MAY 00:00Z
    A Server-Side Template Injection (SSTI) was discovered in Form.io 2.0.0
    cvelistv5