Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Server-side request forgery vulnerability (SSRF) #60

Closed
@reclu3a

Description

Describe the bug
Server-side request forgery vulnerability (SSRF)

To Reproduce
Steps to reproduce the behavior:
1.go to 'acp/acp.php?tn=pages&sub=index'
2. Enter the intranet address in the box to request
3. Can make a request to the intranet

Screenshots
image

request packet

image

Locate the vulnerable code /acp/core/pages.index.php
The start_index parameter calls the function fc_crawler

image

Tracing the fc_crawler function
Locate the vulnerable code /acp/core/functions_index.php

image

Continue to track the fc_loadSourceCode function

image

image

dict protocol for request

dict://ip:port

image

Use gopher protocol for request
gopher://192.168.172.114:9333/aaaaa
image

Led to the SSRF vulnerability

Desktop (please complete the following information):

  • OS: MacOS
  • Browser all
  • Version last version

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions