Skip to Content
OpenVAPTAlpha
Pre-release. Academic, non-commercial, source-available code built by AI Cybersecurity Engineers. Free for your own use, 100% at your own risk. This website collects no data. Read MoreRead Less
Pre-release. OpenVAPT has no Stable release yet. Every build is an Alpha, Beta or Release Candidate: it may be incomplete or wrong, so use it only on test machines, 100% at your own risk. See Release Channels
Academic, non-commercial, source-available code built by AI Cybersecurity Engineers. These are AI systems, not people or registered engineers. Free for your own personal or business use, on your own machines, 100% at your own risk. Not for sale. Not for providing services. This website collects no data. Read the Acknowledgements
Pre-release. OpenVAPT has no Stable release yet. Every build is an Alpha, Beta or Release Candidate: it may be incomplete or wrong, so use it only on test machines, 100% at your own risk. See Release Channels
Academic, non-commercial, source-available code built by AI Cybersecurity Engineers. These are AI systems, not people or registered engineers. Free for your own personal or business use, on your own machines, 100% at your own risk. Not for sale. Not for providing services. This website collects no data. Read the Acknowledgements
P6PractitionerAbout 25 minutes

Information Exposure and Misconfiguration

How forgotten files, verbose errors and version banners hand attackers the map, and sometimes the keys.

Read First: P5

You Will Be Able To

  • Explain the impact of exposed .git folders, .env files and backups.
  • Explain why directory listing, status pages and version disclosure matter.
  • Recognise risky PHP and CMS settings.

Forgotten Files

An exposed .git folder lets anyone rebuild your source code and its history, often including committed secrets. A downloadable .env file usually means full compromise. Backups and SQL dumps left in the web root contain whole databases.

Reconnaissance Leaks

Directory listings show every file in a folder. Server status pages show live requests. Version numbers in headers let attackers match you to public exploit lists in seconds. Hiding versions does not fix vulnerabilities, but removes free reconnaissance.

Platform Settings

PHP's display_errors prints internals into pages, and allow_url_include turns a file-inclusion bug into remote code execution. Unsupported PHP versions stop receiving fixes. WordPress version disclosure and an open XML-RPC endpoint invite automated attacks.

In Summary

Exposed .git, .env, backup files and directory listings leak secrets and code. Default pages and version banners help attackers aim. Debug mode must be off in production.

Apply It

These OpenVAPT checks put this module into practice. Open one to see its detection logic and source code.

CheckTitleSeverity
WEB-CMS-001WordPress Version DisclosedLow
WEB-CMS-002WordPress XML-RPC Interface EnabledLow
WEB-CMS-003WordPress User Accounts EnumerableLow
WEB-CMS-004CMS Configuration Readable by All UsersHigh
WEB-CMS-005CMS Configuration Writable by Other UsersHigh
WEB-CMS-006WordPress Shows Debug Output to VisitorsMedium
WEB-CMS-007WordPress Dashboard File Editor EnabledLow
WEB-CMS-008WordPress Automatic Updates DisabledMedium
WEB-CMS-009Joomla Debug or Verbose Error Reporting EnabledMedium
WEB-CMS-010Joomla Version DisclosedLow
WEB-CMS-011Drupal Version Disclosed by ChangelogLow
WEB-CMS-012Drupal Core Past End of LifeHigh
WEB-CMS-013Drupal Trusted Host Patterns Not SetMedium
WEB-CMS-014Joomla Core Past End of LifeHigh
WEB-CMS-015Magento Not in Production ModeMedium
WEB-CMS-016Ghost Configured With a Plain HTTP Site URLMedium
WEB-CMS-017WordPress Cron Reachable by VisitorsInfo
WEB-CMS-018WordPress Author Archive Reveals Login NamesLow
WEB-CMS-019Drupal update.php Open Without AuthenticationHigh
WEB-DOC-001Secrets or Backups Stored Inside a Web RootHigh
WEB-DOC-002Web Root Files Writable by Other UsersHigh
WEB-DOC-003Archives or Certificates Inside a Web RootMedium
WEB-EXP-001Git Repository Exposed on the WebsiteHigh
WEB-EXP-002Environment or Secrets File ExposedCritical
WEB-EXP-003PHP Information Page ExposedMedium
WEB-EXP-004Backup or Database Dump Files DownloadableHigh
WEB-EXP-005Directory Listing EnabledMedium
WEB-EXP-006Web Server Status Page ExposedMedium
WEB-EXP-007Other Version Control Metadata ExposedHigh
WEB-EXP-008Log Files Downloadable From the WebsiteHigh
WEB-EXP-009Dependency Manifests ExposedLow
WEB-EXP-010Default Web Server Page ServedLow
WEB-EXP-011Database Administration Tool ExposedMedium
WEB-EXP-012Framework Debug Pages ExposedHigh
WEB-HDR-007Server Software Version DisclosedLow
WEB-PHP-001PHP Displays Errors to VisitorsMedium
WEB-PHP-002PHP Version Exposed in HeadersLow
WEB-PHP-003PHP Allows Remote File InclusionHigh
WEB-PHP-004PHP Version Past End of Security SupportHigh
WEB-PHP-005PHP Session Cookies Not HardenedMedium

Printable Worksheet · Teacher Answer Key · For Teachers · Print this page with your browser's Print command for a handout.

Also available as plain Markdown for notes, scripts and AI tools. Same facts, same source, no styling.

Lab

  1. Run: openvapt demo --only WEB-EXP-,WEB-PHP-,WEB-CMS- and read how the evidence is redacted.
  2. Find the bodyHas markers in internal/checks/web/exposure.go and explain how they avoid soft-404 false positives.

Check Yourself

Answers are checked in your browser and never stored or sent.

Question 1

1. Why is an exposed .git folder serious?

Question 2

2. What should you do after finding an exposed .env file?

Question 3

3. Why does OpenVAPT require content markers, not just HTTP 200?

Question 4

4. What can PHP's allow_url_include turn a file-inclusion bug into?

Question 5

5. Does hiding version numbers fix vulnerabilities?

Question 6

6. A database dump named backup.sql sits in the web root. What is the main risk?

References

Cite This Page

If this page helped your work, please cite it. The version and web address are filled in; the access date is today's date in your browser. Every other style, and when credit is required, is on How to Cite OpenVAPT.

APA 7
OpenVAPT. (2026). P6: Information Exposure and Misconfiguration (Version 0.1.0-alpha.6). OpenVAPT Academy. Retrieved October 16, 2026, from https://openvapt.com/academy/p6.html

In text: (OpenVAPT, 2026). Accessed: the date shown is today's date from your own browser (the site's build date without JavaScript); change it to the day you read the page.

BibTeX
@misc{openvapt_p6,
  author       = {{OpenVAPT}},
  title        = {{P6: Information Exposure and Misconfiguration}},
  year         = {2026},
  howpublished = {\url{https://openvapt.com/academy/p6.html}},
  note         = {OpenVAPT Academy, version 0.1.0-alpha.6. Accessed 16 October 2026}
}

Accessed: the date shown is today's date from your own browser (the site's build date without JavaScript); change it to the day you read the page.

Citing OpenVAPT does not mean OpenVAPT endorses, approves or has reviewed your work.