Skip to content

Commit

Permalink
Merge pull request #135 from pyllyukko/apache-mod_info
Browse files Browse the repository at this point in the history
Added apache-mod_info.bcheck
  • Loading branch information
Michelle-PortSwigger authored Oct 19, 2023
2 parents 8450ff2 + 984979e commit e7ed2fc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions other/apache-mod_info.bcheck
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
metadata:
language: v1-beta
name: "Apache mod_info"
description: "Check for Apache's mod_info pages"
author: "pyllyukko"

run for each:
potential_path =
"/server-status",
"/server-info"

given host then
send request called check:
method: "GET"
path: {potential_path}

if {check.response.status_code} is "200" and "Apache Server" in {check.response.body} then
report issue:
severity: info
confidence: certain
detail: `Apache's mod_info page found at {potential_path}.`
remediation: "Disable Apache's mod_info module."
end if

0 comments on commit e7ed2fc

Please sign in to comment.