elmah.axd Disclosure

Published on 20 Dec 2021
Vulnerability

Description

Elmah is an application-wide error logging facility that is completely pluggable.This vulnerability can cause highly sensitive data leaks on current sessions. It is a powerful tool that helps developers debug and resolve problems in their applications.it is configured improperly on target websites, and that allows attackers to gain information about requests and responses to the application. Information such as:

  • Session cookies

  • Session state

  • Query string and post variables

  • Physical path of the requested file

This means that the attacker can hijack any active user’s session by using their session details.

Recommendation

Apply the changes in web.config file to disable remote access to the Elmah.axd error log.

Also uses ASP.NET’s own authorization mechanism to protect Elmah.axd error log from attackers. It makes the Elmah.axd error log viewable by only authorized Administrators.

Manindar Mohan
Written by
Cyber Security Lead Engineer

Manieendar is a dedicated Security Engineer with a wealth of experience in the cybersecurity landscape. He plays a pivotal role at Beagle Security, where he employs his extensive knowledge to safeguard systems against cyber threats. Manieendar's passion for cybersecurity extends beyond his professional role; he actively contributes to the online security community through insightful articles and speaking engagements.

Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 14 days
4.8 on G2 • ISO 27001 certified
See How Beagle Security Works
No credit card • No setup required
Launch interactive demo