Disable Directory Listings Security & Risk Analysis

wordpress.org/plugins/disable-directory-listings

Prevent virtual directory listing services from listing the contents of directories, and/or show a page in place of a directory's listing.

100 active installs v2.0 PHP + WP 3.0+ Updated Jul 29, 2011
apachecoffee2codedirectory-listingsprivacysecurity
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Disable Directory Listings Safe to Use in 2026?

Generally Safe

Score 85/100

Disable Directory Listings has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 14yr ago
Risk Assessment

The "disable-directory-listings" v2.0 plugin exhibits a generally positive security posture with a minimal attack surface, indicating good development practices in limiting entry points. The absence of known CVEs and a clean vulnerability history are strong indicators of stability and proactive security. However, the presence of a `unserialize` function is a significant concern, as it can be a vector for remote code execution if used with untrusted input. While the plugin has one capability check, the lack of nonce checks on AJAX handlers and the low percentage of properly escaped outputs (15%) introduce potential risks for cross-site scripting (XSS) vulnerabilities, especially if any of the limited entry points were to inadvertently process user-supplied data without proper sanitization and validation.

Despite the promising lack of known vulnerabilities and a controlled attack surface, the identified `unserialize` function represents a critical risk that demands immediate attention. Coupled with the insufficient output escaping, the plugin, while seemingly secure on the surface due to its limited functionality and lack of recorded vulnerabilities, harbors latent risks. Developers should prioritize addressing the `unserialize` usage and enhancing output escaping mechanisms to solidify the plugin's security and prevent potential exploit pathways.

Key Concerns

  • Unsanitized unserialize() usage
  • Low percentage of properly escaped output
  • Lack of nonce checks on AJAX handlers
Vulnerabilities
None known

Disable Directory Listings Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Disable Directory Listings Release Timeline

v2.0Current
Code Analysis
Analyzed Mar 16, 2026

Disable Directory Listings Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
22
4 escaped
Nonce Checks
0
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

unserialize$plugins = unserialize( $r['body']['plugins'] );c2c-plugin.php:235

Output Escaping

15% escaped26 total outputs
Attack Surface

Disable Directory Listings Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 12
actioninitc2c-plugin.php:110
actionadmin_initc2c-plugin.php:115
actionadmin_headc2c-plugin.php:118
filterhttp_request_argsc2c-plugin.php:156
actionadmin_menuc2c-plugin.php:159
actioncontextual_helpc2c-plugin.php:161
filterwhitelist_optionsc2c-plugin.php:250
filtermod_rewrite_rulesdisable-directory-listings.php:132
actionadmin_menudisable-directory-listings.php:133
actionadmin_initdisable-directory-listings.php:134
actionadmin_noticesdisable-directory-listings.php:135
actionadmin_noticesdisable-directory-listings.php:136
Maintenance & Trust

Disable Directory Listings Maintenance & Trust

Maintenance Signals

WordPress version tested3.2.1
Last updatedJul 29, 2011
PHP min version
Downloads7K

Community Trust

Rating100/100
Number of ratings1
Active installs100
Developer Profile

Disable Directory Listings Developer Profile

Scott Reilly

63 plugins · 92K total installs

71
trust score
Avg Security Score
88/100
Avg Patch Time
374 days
View full developer profile
Detection Fingerprints

How We Detect Disable Directory Listings

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Disable Directory Listings