SlideShare a Scribd company logo
Error codes & custom 404s
Error codes & custom 404s
• Error Codes are very common during Web
Application Security tests
• Often seen as a non-security issue
• Easy to remediate
• Error Codes can unveil a lot of information
regarding an Application to an attacker
• This includes:
– Databases
– Bugs
– Server Config
– Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[MySQL][ODBC 3.51 Driver]Unknown MySQL server

– Microsoft OLE DB Provider for ODBC Drivers error
'80004005' [Microsoft][ODBC Access 97 ODBC driver
Driver]General error Unable to open registry key 'DriverId‘

– Not Found The requested URL /page.html was not found
on this server. Apache/2.2.3 (Unix) mod_ssl/2.2.3
OpenSSL/0.9.7g DAV/2 PHP/5.1.2 Server at localhost Port
80
• If a user requests a dynamic resource that
does not exist (for example, an ASPX file), then
the user sees the default server error message
generated by ASP.NET for HTTP 404 errors:
• If an unhandled exception occurs in the
application, then the user sees the default
server error message generated by ASP.NET
for HTTP 500 errors:
• ASP.NET web application developers call these
the "
"(
)
• Similar to this traffic light, Users and
Developers are unaware of the risk these
errors can have
• Add error pages for 404 and 500 error codes
from within the application configuration file
(web.config)
• This instruct IIS to use the specified custom
pages for these error codes
Error codes & custom 404s
Error codes & custom 404s
Error codes & custom 404s
Error codes & custom 404s

More Related Content

PPTX
Cross site scripting XSS
PPTX
Web application attack Presentation
PPTX
Web application attacks
PPTX
ASP.NET View State - Security Issues
PPTX
Web Hacking Series Part 4
PDF
Common Web Application Attacks
PPTX
Web Security Attacks
Cross site scripting XSS
Web application attack Presentation
Web application attacks
ASP.NET View State - Security Issues
Web Hacking Series Part 4
Common Web Application Attacks
Web Security Attacks

What's hot (20)

PPTX
Web Hacking Series Part 1
PPTX
Web Hacking series part 2
PPTX
Owasp Top 10 A3: Cross Site Scripting (XSS)
PPTX
Web hacking series part 3
PPTX
Automatically detecting security vulnerabilities in WordPress
PPTX
Dzhengis 93098 ajax - security
PDF
AJAX: How to Divert Threats
PDF
Hack proof your ASP NET Applications
PDF
Sql Injection and XSS
PDF
PPTX
Website hacking and prevention (All Tools,Topics & Technique )
PPTX
Secure Code Warrior - Cross site scripting
PPTX
Cross Site Scripting(XSS)
PDF
Pentesting RESTful webservices
PPTX
Secure Code Warrior - Remote file inclusion
PPTX
OWASP top 10-2013
PPTX
Top 10 Web Application Security Risks - Murat Lostar @ ISACA EUROCACS 2013
PPT
Secure Web Applications Ver0.01
PPT
SQL injection basics
Web Hacking Series Part 1
Web Hacking series part 2
Owasp Top 10 A3: Cross Site Scripting (XSS)
Web hacking series part 3
Automatically detecting security vulnerabilities in WordPress
Dzhengis 93098 ajax - security
AJAX: How to Divert Threats
Hack proof your ASP NET Applications
Sql Injection and XSS
Website hacking and prevention (All Tools,Topics & Technique )
Secure Code Warrior - Cross site scripting
Cross Site Scripting(XSS)
Pentesting RESTful webservices
Secure Code Warrior - Remote file inclusion
OWASP top 10-2013
Top 10 Web Application Security Risks - Murat Lostar @ ISACA EUROCACS 2013
Secure Web Applications Ver0.01
SQL injection basics
Ad

Viewers also liked (8)

PPTX
Cross Domain Hijacking - File Upload Vulnerability
PPTX
B wapp – bee bug – installation
PPTX
Content security policy
PPTX
Apache Multiview Vulnerability
PPTX
PPTX
Kauppatieteilijöiden työttömyys 30.9.2017
PPTX
Click jacking
Cross Domain Hijacking - File Upload Vulnerability
B wapp – bee bug – installation
Content security policy
Apache Multiview Vulnerability
Kauppatieteilijöiden työttömyys 30.9.2017
Click jacking
Ad

Similar to Error codes & custom 404s (20)

PPTX
Make your Azure PaaS Deployment More Safe
PDF
Codeigniter
PDF
Securing the Apache web server
PDF
Securing the Apache web server
PDF
How to Harden the Security of Your .NET Website
 
PPTX
Web Application Security 101
ODP
Web Security
PPT
香港六合彩
PDF
هک پایگاه داده و راهکارهای مقابلهDatabases hacking, safeguards and counterme...
PPS
Security testing
PPTX
Conectarea sgdb acces la un server oracle
PPTX
Data mining tools for excel and sql server
PPTX
Php reports sumit
PDF
apidays New York 2023 - Putting yourself out there - how to secure your publi...
PPTX
hardenning Operating System Server Berbasis Linux
PDF
16 Web Application Penetration Testing 102.pdf
PPTX
Vulnerabilities on Various Data Processing Levels
PDF
Web hackingtools cf-summit2014
PDF
CNIT 123 Ch 10: Hacking Web Servers
PPT
php databse handling
Make your Azure PaaS Deployment More Safe
Codeigniter
Securing the Apache web server
Securing the Apache web server
How to Harden the Security of Your .NET Website
 
Web Application Security 101
Web Security
香港六合彩
هک پایگاه داده و راهکارهای مقابلهDatabases hacking, safeguards and counterme...
Security testing
Conectarea sgdb acces la un server oracle
Data mining tools for excel and sql server
Php reports sumit
apidays New York 2023 - Putting yourself out there - how to secure your publi...
hardenning Operating System Server Berbasis Linux
16 Web Application Penetration Testing 102.pdf
Vulnerabilities on Various Data Processing Levels
Web hackingtools cf-summit2014
CNIT 123 Ch 10: Hacking Web Servers
php databse handling

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Encapsulation theory and applications.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
cuic standard and advanced reporting.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
KodekX | Application Modernization Development
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Empathic Computing: Creating Shared Understanding
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
sap open course for s4hana steps from ECC to s4
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Reach Out and Touch Someone: Haptics and Empathic Computing
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine learning based COVID-19 study performance prediction
Encapsulation theory and applications.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
cuic standard and advanced reporting.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
KodekX | Application Modernization Development
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Understanding_Digital_Forensics_Presentation.pptx
Unlocking AI with Model Context Protocol (MCP)
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Empathic Computing: Creating Shared Understanding
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Per capita expenditure prediction using model stacking based on satellite ima...

Error codes & custom 404s

  • 3. • Error Codes are very common during Web Application Security tests • Often seen as a non-security issue • Easy to remediate
  • 4. • Error Codes can unveil a lot of information regarding an Application to an attacker • This includes: – Databases – Bugs – Server Config
  • 5. – Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [MySQL][ODBC 3.51 Driver]Unknown MySQL server – Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Access 97 ODBC driver Driver]General error Unable to open registry key 'DriverId‘ – Not Found The requested URL /page.html was not found on this server. Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7g DAV/2 PHP/5.1.2 Server at localhost Port 80
  • 6. • If a user requests a dynamic resource that does not exist (for example, an ASPX file), then the user sees the default server error message generated by ASP.NET for HTTP 404 errors:
  • 7. • If an unhandled exception occurs in the application, then the user sees the default server error message generated by ASP.NET for HTTP 500 errors:
  • 8. • ASP.NET web application developers call these the " "( ) • Similar to this traffic light, Users and Developers are unaware of the risk these errors can have
  • 9. • Add error pages for 404 and 500 error codes from within the application configuration file (web.config) • This instruct IIS to use the specified custom pages for these error codes