ELMAH Information Disclosure

medium Web App Scanning Plugin ID 112425

Synopsis

ELMAH Information Disclosure

Description

ELMAH (Error Logging Modules and Handlers) is an application error logging facility. This application is not properly configured and leads to information disclosure via elmah.axd or errorlog.axd. This allows an unauthenticated, remote attacker to view web requests made to the server, including sensitive information like Session ID values, full path or request variables.

Solution

Set <elmah><security allowRemoteAccess='0' /></elmah> in web.config to disable remote access.

See Also

https://code.google.com/archive/p/elmah/wikis/SecuringErrorLogPages.wiki

https://elmah.github.io

https://www.troyhunt.com/aspnet-session-hijacking-with-google/

Plugin Details

Severity: Medium

ID: 112425

Type: remote

Published: 6/8/2020

Updated: 5/16/2022

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS Score Source: Tenable

Reference Information