Sablog1.6 CSRF vulnerability POC

Source: Internet
Author: User

The soul of an empty prodigal soul

This test is successful in my blog, and the latest official version is successfully downloaded, but it fails in my blog.

The reason is that he modified the source program and determined the referer.

POC:

SHELL code
When commenting, website address input: http://www.inbreak.net/blog

Then the content is: Hello, can you give me a link?

After the Administrator logs on to the background, if you click your homepage, an account will be added to the background.

Hackedbykxlzx

Then you can use this account to log on, modify the template, edit the PHP file, and create a shell.

The Administrator clicked the home page and saw a page, saying that the address is incorrect.

Two important files. The first one is
Http://www.inbreak.net/blog/index.php
Is it confusing? The Administrator first saw this.
Here is an iframe pointing to the second

Yes
Http://www.inbreak.net/kxlzxtest/testxss/sablog.php

Click here to add users.

When the Administrator accesses the service, the user is added.

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.