CVE-2025-22457: Ivanti Connect Secure < 22.7R2.6 - Stack-based Buffer Overflow

2026-11-29 PoC Public

Description

Ivanti Connect Secure before version 22.7R2.6, Ivanti Policy Secure before version 22.7R1.4,

and Ivanti ZTA Gateways before version 22.8R2.2 contain a stack-based buffer overflow caused by

improper input handling, allowing remote attackers to execute arbitrary code without authentication.

Details

CVE
CVE-2025-22457 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2025-22457

info:
  name: Ivanti Connect Secure < 22.7R2.6 - Stack-based Buffer Overflow
  author: s4e-io,pussycat0x
  severity: critical
  description: |
    Ivanti Connect Secure before version 22.7R2.6, Ivanti Policy Secure before version 22.7R1.4,
    and Ivanti ZTA Gateways before version 22.8R2.2 contain a stack-based buffer overflow caused by
    improper input handling, allowing remote attackers to execute arbitrary code without authentication.
  impact: |
    Remote attackers can execute arbitrary code on the affected systems, potentially leading to full system compromise.
  remediation: |
    Update to the latest versions: Ivanti Connect Secure 22.7R2.6 or later, Ivanti Policy Secure 22.7R1.4 or later, Ivanti ZTA Gateways 22.8R2.2 or later.
  reference:
    - https://labs.watchtowr.com/is-the-sofistication-in-the-room-with-us-x-forwarded-for-and-ivanti-connect-secure-cve-2025-22457
    - https://www.rapid7.com/blog/post/ra-cve-2025-22457-analysis/
    - https://www.ivanti.com/blog/security-update-pulse-connect-secure-ivanti-connect-secure-policy-secure-and-neurons-for-zta-gateways
    - https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/ivanti_connect_secure_stack_overflow_rce_cve_2025_22457.rb
    - https://www.cvedetails.com/cve/CVE-2025-22457
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 9.0
    cve-id: CVE-2025-22457
    cwe-id: CWE-121,CWE-787
    epss-score: 0.41019
    epss-percentile: 0.98989
    cpe: cpe:2.3:a:ivanti:connect_secure:*:-:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: ivanti
    product: connect_secure
    shodan-query: http.title:"ivanti connect secure"
    fofa-query: title="ivanti connect secure"
    zoomeye-query: title:"ivanti connect secure"
    google-query: intitle:"ivanti connect secure"
  tags: cve,cve2025,ivanti,kev,vkev,passive,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/dana-na/auth/url_admin/welcome.cgi?type=inter"
      - "{{BaseURL}}/dana-na/nc/nc_gina_ver.txt"

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(tolower(body), "name=\"productversion\"")'
          - 'compare_versions(version, "< 22.7.2.3981")'
        condition: and

    extractors:
      - type: regex
        name: version
        part: body
        group: 1
        regex:
          - '(?i)name="productversion"\s+value="([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)"'
# digest: 4b0a00483046022100caca28739193518cebe30c8168d7253c698f39f3a58efb1787decaaaefc980d5022100dab2c59e7bd8ff88ed35bd73c9d6883ffadc2ffc731b70968653a325b4c9e05b:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life