Opened 15 years ago
Closed 15 years ago
#13046 closed defect (bug) (worksforme)
System Path Disclosure
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.9.2 |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
Description
GET /wp-content/themes/default/ or
GET /wp-content/themes/default/footer.php etc.
then I'll see the system path like:
Fatal error: Call to undefined function get_header() in /home/lostsnow/www/lsproc/blog/wp-content/themes/default/index.php on line 7
Change History (1)
Note: See
TracTickets for help on using
tickets.
This is a "vulnerability" ultimately rooted in display_errors = 1.
Courtesy of the PHP manual: