SlideShare a Scribd company logo
Apache -
MultiViews Vulnerability
Apache HTTP Server Overview
• Free, Based On Open Source Technology.
• Multiple Scripting Language Support.
• Runs On * Operating Systems.
• Web Server With a modular design.
• Simple, Powerful file-based configuration.
Apache Statistics
Interesting
Where did the Apache name come from?
• A Patchy Server, since it was a set of software patches?
Actually!.
• The name Apache was chosen out of respect to the Native
American tribe Apache and its superior skills in warfare and
strategy.
• It just sort of connoted: "Take no prisoners. Be kind of
aggressive and kick some ass."
—Brian Behlendorf founding member of the Apache Group.
Apache Multiview Vulnerability
MultiViews
MultiViews is a per-directory option
Can be set with an Options directive within
a <Directory>, <Location> or <Files> section in httpd.conf
or
If AllowOverride is properly set in .htaccess files.
Note that Options All does not set MultiViews; you have to ask for
it by name.
The effect of MultiViews is as follows
If the server receives a request for /some/dir/foo,
if /some/dir has MultiViews enabled,
and /some/dir/foo does notexist, then the server reads the
directory looking for files named foo.*, and effectively fakes
up a type map which names all those files, assigning them
the same media types and content-encodings it would have
if the client had asked for one of them by name. It then
chooses the best match to the client's requirements.
Example
• Assume that you have a index.html file (or index.php), which
both return text/html content type, and you request:
• Then Apache will serve the file index.html. If another file was
there, which is called index.gif, it wouldn't be served (due to
the Accept header we specified).
• The problem is that if you request a file, and write an invalid
mime-type, Apache will present you with all of the options:
• The response would be:
• This reveals some files served by the server that might not be
meant for browsing.
Remedy
• Disable MultiViews Option.
• Change your httpd.conf file. A recommended configuration
for the requested directory should be in the following format:
<Directory /{YOUR DIRECTORY}>
Options FollowSymLinks
</Directory>
• Remove the MultiViews option from configuration.

More Related Content

PPTX
Terraform 101
PPTX
Reverse proxy & web cache with NGINX, HAProxy and Varnish
KEY
Single Sourcing RCP and RAP
PPTX
HAProxy
PPTX
Jboss App Server
PPT
Samba server
PPTX
Enable Domino Data Access Services (DAS)
PPTX
Firewall DMZ Zone
Terraform 101
Reverse proxy & web cache with NGINX, HAProxy and Varnish
Single Sourcing RCP and RAP
HAProxy
Jboss App Server
Samba server
Enable Domino Data Access Services (DAS)
Firewall DMZ Zone

What's hot (20)

PDF
The basics of fluentd
PDF
Operating PostgreSQL at Scale with Kubernetes
PDF
Practical Celery
PDF
How to find what is making your Oracle database slow
PDF
Access Data from XPages with the Relational Controls
PPTX
File permissions
PDF
Reliable Event Delivery in Apache Kafka Based on Retry Policy and Dead Letter...
PDF
Exadata X8M-2 KVM仮想化ベストプラクティス
PDF
October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...
PPTX
Jenkins days workshop pipelines - Eric Long
PDF
Collaborative Editing Tools for Alfresco
PDF
Domino Tech School - Upgrading to Notes/Domino V10: Best Practices
PPTX
Openstack glance
PPTX
PPT
linux software architecture
PDF
SmartDB Office Hours: Connection Pool Sizing Concepts
PPTX
HCL Domino V12 Key Security Features Overview
PDF
Glusterfs 소개 v1.0_난공불락세미나
PDF
Integrating PostgreSql with RabbitMQ
PPTX
Microsoft LAPS - Local Administrator Password Solution
The basics of fluentd
Operating PostgreSQL at Scale with Kubernetes
Practical Celery
How to find what is making your Oracle database slow
Access Data from XPages with the Relational Controls
File permissions
Reliable Event Delivery in Apache Kafka Based on Retry Policy and Dead Letter...
Exadata X8M-2 KVM仮想化ベストプラクティス
October OpenNTF Webinar - What we like about Domino/Notes 12, recommended new...
Jenkins days workshop pipelines - Eric Long
Collaborative Editing Tools for Alfresco
Domino Tech School - Upgrading to Notes/Domino V10: Best Practices
Openstack glance
linux software architecture
SmartDB Office Hours: Connection Pool Sizing Concepts
HCL Domino V12 Key Security Features Overview
Glusterfs 소개 v1.0_난공불락세미나
Integrating PostgreSql with RabbitMQ
Microsoft LAPS - Local Administrator Password Solution
Ad

Viewers also liked (20)

PPTX
PPTX
Cross site scripting XSS
PPTX
ASP.NET View State - Security Issues
PPTX
Cross Domain Hijacking - File Upload Vulnerability
PPTX
Click jacking
PPTX
Mime sniffing
PPTX
Error codes & custom 404s
PPTX
B wapp – bee bug – installation
PPTX
Jon Gorenflo - Burp Collaborator
PPTX
Web-App Remote Code Execution Via Scripting Engines
PDF
Automated and Effective Testing of Web Services for XML Injection Attacks
PPTX
Content security policy
PPTX
File upload vulnerabilities & mitigation
PDF
Sql injection bypassing hand book blackrose
PPTX
Kali Linux Installation - VMware
PPTX
Waf bypassing Techniques
PDF
SSRF workshop
PDF
XML Attack Surface - Pierre Ernst (OWASP Ottawa)
Cross site scripting XSS
ASP.NET View State - Security Issues
Cross Domain Hijacking - File Upload Vulnerability
Click jacking
Mime sniffing
Error codes & custom 404s
B wapp – bee bug – installation
Jon Gorenflo - Burp Collaborator
Web-App Remote Code Execution Via Scripting Engines
Automated and Effective Testing of Web Services for XML Injection Attacks
Content security policy
File upload vulnerabilities & mitigation
Sql injection bypassing hand book blackrose
Kali Linux Installation - VMware
Waf bypassing Techniques
SSRF workshop
XML Attack Surface - Pierre Ernst (OWASP Ottawa)
Ad

Similar to Apache Multiview Vulnerability (20)

PPT
Apache
PPTX
.htaccess
PDF
Lesson 9. The Apache Web Server
PPT
Apache
PDF
Apache linuxsadsfdsfsdfdsfsdfsdfdsfsdfs.pdf
PDF
Intro apache
PDF
testing pdf doc
PDF
PPT
Apache ppt
PDF
Running the Apache Web Server
PPTX
Apache
PDF
PPT
Utosc2007_Apache_Configuration.ppt
PPT
Utosc2007_Apache_Configuration.ppt
PPT
Utosc2007_Apache_Configuration.ppt
PPTX
Asp folders and web configurations
Apache
.htaccess
Lesson 9. The Apache Web Server
Apache
Apache linuxsadsfdsfsdfdsfsdfsdfdsfsdfs.pdf
Intro apache
testing pdf doc
Apache ppt
Running the Apache Web Server
Apache
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
Asp folders and web configurations

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Big Data Technologies - Introduction.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Electronic commerce courselecture one. Pdf
Teaching material agriculture food technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Network Security Unit 5.pdf for BCA BBA.
Big Data Technologies - Introduction.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Empathic Computing: Creating Shared Understanding
Understanding_Digital_Forensics_Presentation.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Programs and apps: productivity, graphics, security and other tools
Building Integrated photovoltaic BIPV_UPV.pdf
Approach and Philosophy of On baking technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Diabetes mellitus diagnosis method based random forest with bat algorithm
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Electronic commerce courselecture one. Pdf

Apache Multiview Vulnerability

  • 2. Apache HTTP Server Overview • Free, Based On Open Source Technology. • Multiple Scripting Language Support. • Runs On * Operating Systems. • Web Server With a modular design. • Simple, Powerful file-based configuration.
  • 4. Interesting Where did the Apache name come from? • A Patchy Server, since it was a set of software patches?
  • 5. Actually!. • The name Apache was chosen out of respect to the Native American tribe Apache and its superior skills in warfare and strategy. • It just sort of connoted: "Take no prisoners. Be kind of aggressive and kick some ass." —Brian Behlendorf founding member of the Apache Group.
  • 7. MultiViews MultiViews is a per-directory option Can be set with an Options directive within a <Directory>, <Location> or <Files> section in httpd.conf or If AllowOverride is properly set in .htaccess files. Note that Options All does not set MultiViews; you have to ask for it by name.
  • 8. The effect of MultiViews is as follows If the server receives a request for /some/dir/foo, if /some/dir has MultiViews enabled, and /some/dir/foo does notexist, then the server reads the directory looking for files named foo.*, and effectively fakes up a type map which names all those files, assigning them the same media types and content-encodings it would have if the client had asked for one of them by name. It then chooses the best match to the client's requirements.
  • 9. Example • Assume that you have a index.html file (or index.php), which both return text/html content type, and you request: • Then Apache will serve the file index.html. If another file was there, which is called index.gif, it wouldn't be served (due to the Accept header we specified).
  • 10. • The problem is that if you request a file, and write an invalid mime-type, Apache will present you with all of the options: • The response would be: • This reveals some files served by the server that might not be meant for browsing.
  • 11. Remedy • Disable MultiViews Option. • Change your httpd.conf file. A recommended configuration for the requested directory should be in the following format: <Directory /{YOUR DIRECTORY}> Options FollowSymLinks </Directory> • Remove the MultiViews option from configuration.

Editor's Notes

  • #7: Vulnerability