在使用百度云观测的时候,弹出了网站的安全警告:页面异常导致本地路径泄漏,还给出了漏洞页面的地址:http://*.com/wp-content/themes/uptown/,指向了本博客使用的主题目录首页文件index.php。点开这个链接,显示了一个错误信息,其中包含了博客所在主机的本地磁盘路径。
1
2
|
Fatal error: Call to undefined function get_header() in /home/public_html/blog/wp-content/themes/uptown/index.php on line 4 |
这明显是一个调试信息,指明了访问该文件发生了错误,并且贴出来主机的本地路径。我接着试验了wordpress主题目录和include目录下的其他文件,出现了相同的本地路径泄露情况。
一般的,当通过浏览器访问如下文件时,文件没有对访问权限进行验证,会引发Call to undefined function调用未定义函数错误,当未禁用错误报告或错误显示时会导致网站绝对路径泄露。
1
2
3
4
5
6
7
8
9
10
11
12
|
wp-admin/admin-functions.php wp-admin/upgrade-functions.php wp-includes/ class -snoopy.php wp-includes/registration.php wp-includes/rss-functions.php wp-includes/rss.php wp-includes/theme-compat/comments-popup.php wp-includes/theme-compat/comments.php wp-includes/theme-compat/footer.php wp-includes/theme-compat/header.php wp-includes/theme-compat/sidebar.php wp-includes/registration-functions.php |
对于这样的问题,只要禁止显示调试错误就可以了。对于PHP+Apache的wordpress网站,有以下三种修补方式:
- 修改php.ini中的配置行: display_errors = off
- 修改httpd.conf/apache2.conf中的配置行: php_flag display_errors off
- 修改php脚本,增加代码行: ini_set(‘display_errors’, false);
每一种方法都可以解决Wordpress页面异常导致本地路径泄漏的问题。
With thanks, Good stuff!
l-arginine and herbal viagra viagra saved chrismas
viagra for sale uk
viagra enhancements – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
You made your point!
viagra teenager michael smidt old viagra creep
viagra for sale uk
viagra explained – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
With thanks. Useful information.
ingrediants in viagra take viagra and cialis
viagra for sale uk
when was viagra released – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Valuable tips. Cheers.
viagra 50mg soft tab generic compare cialis viagra levitra
viagra 100mg
search viagra find cheap pages – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Thank you! Helpful information!
can you take viagra ecstasy female viagra sildenafil
viagra for sale uk
buy viagra in canada – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Thanks! A lot of tips!
try viagra for free need something better than viagra
generic viagra
viagra without prescription india – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
You suggested it perfectly.
vitreous detachment and viagra viagra macular degeneration
viagra pills
viagra for doggies – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
You said it nicely..
viagra supplier us online pharmacy viagra brasil
buy viagra
viagra zeit – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Many thanks, I like this.
viagra stimulis confidential online prescription viagra
viagra online
what will 200mg of viagra do – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Wonderful tips. Appreciate it.
viagra free sites computer search buy legitimate viagra generic
viagra for women
viagra side effects prmature – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
Very good data. Kudos!
treating viagra indigestion viagra alcahol
viagra without a doctor prescription
viagra doses compared to levitra doses – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Awesome advice. Thank you!
viagra low blood pressure flintstone’s viagra song
viagra for women
buy now viagra – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
You stated that exceptionally well!
alternative presciption medication to viagra arlene farmer viagra
generic viagra online
viagra and peyronie’s – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
You made your position quite effectively!.
herbal viagra alternative viagra storage
generic viagra 100mg
penis on viagra – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
You expressed that adequately.
over-the-counter supplement that mimicks viagra buy generic viagra online
viagra for women
viagra vancouver – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
You actually suggested this fantastically.
generic viagra vega 100mg india viagra vs generic viagra
generic viagra
cheap pfizer viagra – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
You suggested this wonderfully.
americans hooked on viagra cialis and levitra viagra
buy viagra online
viagra super active canada no prescription – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
Seriously a lot of superb facts.
generic viagra without presciption legal viagra overseas
generic viagra 100mg
provigil viagra interaction – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Regards. Lots of content.
viagra and liver disease generic viagra canadian
cheap viagra
free natural viagra – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Nicely put. Thanks.
cialis viagra levitra tramadol viagra alternatives uk
viagra for sale uk
viagra v – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Terrific posts, Thank you.
cheapest viagra in the usa pfizer viagra trial offer
buy viagra
buy viagra uk online – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Many thanks, Fantastic information.
cealis vs viagra experation date viagra
viagra for women
buy viagra in new york – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
You revealed this exceptionally well!
viagra testimony cheap viagra switch maestro
viagra generic
viagra really works – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Wonderful data. Thanks a lot!
online order for viagra discounted viagra phentermine weight loss
viagra without a doctor prescription
viagra and sports performance – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
You said it adequately.!
whats next when viagra dont work what ingredient in viagra
viagra for sale uk
what politician did ads for viagra – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
You’ve made your point.
viagra use negative effects viagra
viagra for sale uk
does viagra come in a drink – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Many thanks! Valuable stuff!
chemist no risk viagra viagra rrp australia
viagra without a doctor prescription
order viagra online in wisconsin – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
You expressed that perfectly!
viagra ad email norton edinburgh uk viagra find search pages
buy viagra
generic viagra rx – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
You actually said this adequately!
submit a site viagra get up like viagra lyrics
viagra pills
viagra in your 20s – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
With thanks, An abundance of info.
over the counter viagra replacment viagra gender
generic viagra online
lipitor and viagra – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Appreciate it, Numerous facts.
poor mans viagra information on viagra
viagra online
viagra micardis compatibility – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Regards, I enjoy it.
from generic india viagra organic alternatives to viagra
buy viagra online
viagra on an empty stomach – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Thanks a lot, Loads of posts.
viagra online pharmacy cheap viagra direct
viagra online
is viagra safe for women – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Thanks a lot! I appreciate it!
womens herbal viagra buy viagra s journal
buy generic viagra
is viagra available on the nhs – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Amazing facts. Thanks a lot!
male enhancements viagra and cialis le viagra
viagra without a doctor prescription
divide viagra three equal pices – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Thanks a lot. Valuable stuff!
cheap inexpensive viagra viagra picture
generic viagra 100mg
maximize effect of viagra – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Truly all kinds of fantastic info!
who invented viagra viagra free sample
buy generic viagra
buy low price viagra – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
Tips very well applied.!
when will viagra be generic soft viagra quick delivery
buy generic viagra
viagra in desert – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
This is nicely put! .
generic viagra capsules viagra wife
viagra for sale uk
when and how to use viagra – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
Regards! A lot of advice.
viagra womans spanish viagra
viagra for sale uk
why do you take viagra – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Whoa plenty of fantastic advice!
viagra fraudsters opposite viagra
generic viagra 100mg
show how viagra works – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
Great knowledge. Thank you.
viagra female testimonials free viagra samples from pfizer
buy generic viagra
generic brand for viagra – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
Nicely put. Regards.
viagra high school college males virus that sends emails for viagra
viagra generic
take extenze and viagra – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Thanks a lot! Awesome stuff!
viagra ischemia how to stop viagra spam
viagra without a doctor prescription
viagra on internet – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
You made your point.
prescription viagra cost nu virgos viagra
generic viagra 100mg
pros and cons viagra – https://genericviagrarcp.com
Davidneent
待审核TerenceBrili
VictorNeils
Cheers. Plenty of knowledge!
viagra online online a href iframe definition viagra
viagra generic
viagra edinburgh search site find – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
Many thanks, I value it.
eli lily viagra patent genetic viagra europe
viagra generic
can viagra be cut in half – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils
Info nicely utilized.!
people who bought viagra online viagra free consultation
viagra without a doctor prescription
viagra and emphsema – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
You definitely made your point.
viagra generique viagra clones
buy viagra
find viagra free online search – https://genericviagramsl.com
Davidneent
待审核TerenceBrili
VictorNeils
With thanks! Awesome information!
viagra up all night viagra hemmeroids
viagra generic
name buy viagra text buy viagra – https://genericviagrantx.com
Davidneent
待审核TerenceBrili
VictorNeils