CAPEC-23
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE-94
HIPAA-164.306(a)
164.308(a)
ISO27001-A.14.2.5
OWASP 2013-A1
OWASP 2017-A1
PCI v3.2-6.5.1

Code Execution via SSTI (ASP.NET Razor)

Severity:
Critical
Summary

Invicti identified a code execution which occurs when using an unintentional expression in template engine instead of string literals.

This is a highly critical issue and should be addressed as soon as possible.

Impact

An attacker can execute arbitrary code by using wrong construction in template engine tags. The attacker may also be able to execute arbitrary system commands.

Remediation

Do not trust the data that users supply and don't add it to directly into the template. Instead, pass user controlled parameters to the template as template parameters.

Required Skills for Successful Exploitation
Actions To Take
Vulnerability Index

You can search and find all vulnerabilities

Select Vulnerability
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Featured resources

Blog

Strengthening enterprise application security: Invicti acquires Kondukto

Blog

Modern AppSec KPIs: Moving from scan counts to real risk reduction

Blog

Friends don’t let friends shift left: Shift smarter with DAST-first AppSec

Blog

Vibe talking: Dan Murphy on the promises, pitfalls, and insecurities of vibe coding

No items found.