An SSRF vulnerability in zhihu main site can detect the Intranet

Source: Internet
Author: User

An SSRF vulnerability in zhihu main site can detect the Intranet

The https://www.zhihu.com/question/38548957/answer/77482000 was found to answer this question.
It is really a bit interesting. I answered the question of the subject using actual vulnerabilities. Is intranet security really not heavy? With this vulnerability, I can detect and access the intranet of an enterprise. If a vulnerability exists in an intranet application, hackers may access the Intranet.

When zhihu answers a question, the entered URL is automatically converted to the title. For example, entering http://wooyun.org/will become:
 



It is obvious that a request is made in the background.

Capture packets and find the request http://www.zhihu.com/scraper:
 



If the requested object is not properly controlled, the SSRF vulnerability will occur. The request may be sent to some Intranet addresses or addresses accessible by internal personnel, resulting in sensitive information leakage.

Because I cannot find the Intranet CIDR Block, take 127.0.0.1 as an example. www.127.0.0.1.xip. io is resolved to 127.0.0.1, And the request can be found that get is successful:
 



Includes URLs that I normally cannot access: https://status.zhihu.com/login
 

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.