Skip to content

Apache HTTP Server Test Page

ID: default-apache-test-all

Severity: info

Author: andydoering

Tags: tech,apache

Detects default installations of apache (not just apache2 or installations on CentOS)

id: default-apache-test-all
info:
name: Apache HTTP Server Test Page
author: andydoering
severity: info
description: Detects default installations of apache (not just apache2 or installations on CentOS)
classification:
cpe: cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: apache
product: http_server
shodan-query: http.title:"Apache+Default","Apache+HTTP+Server+Test","Apache2+It+works"
tags: tech,apache
http:
- method: GET
path:
- '{{BaseURL}}'
matchers:
- type: regex # type of the extractor
part: body # part of the response (header,body,all)
condition: or
regex:
- "<title>.*?Apache(|\\d+) .*?(Default|Test).*?</title>"
- "<title>(Default|Test).*? Apache(|\\d+).*?</title>"
extractors:
- type: kval
part: header
kval:
- server
# digest: 490a0046304402203ec2bc143a28e8dd0065f3c1819bb3f30780422a96a9b29f2020940992f8e25602202b78aa4df416144519223de145abcf03b81264a758b62af791eaebebf2842034:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/technologies/apache/default-apache-test-all.yaml"

View on Github