PCI v3.2-6.5.5
CAPEC-214
CWE-248
HIPAA-164.306(a), 164.308(a)
ISO27001-A.9.2.3
WASC-14
OWASP 2013-A5
OWASP 2017-A6

Stack Trace Disclosure (ASP.NET)

Severity:
Low
Summary

Invicti identified a stack trace disclosure (ASP.NET) in the target web server's HTTP response.

Impact

An attacker can obtain information such as:

  • ASP.NET version.
  • Physical file path of temporary ASP.NET files.
  • Information about the generated exception and possibly source code, SQL queries, etc.

This information might help an attacker gain more information and potentially focus on the development of further attacks for the target system.

Remediation

Apply following changes on your web.config file to prevent information leakage by applying custom error pages. <System.Web> <customErrors mode="On" defaultRedirect="~/error/GeneralError.aspx"> <error statusCode="403" redirect="~/error/Forbidden.aspx" /> <error statusCode="404" redirect="~/error/PageNotFound.aspx" /> <error statusCode="500" redirect="~/error/InternalError.aspx" /> </customErrors></System.Web>

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

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

Build your resistance to threats. And save hundreds of hours each month.