Commit Graph

35981 Commits

Author SHA1 Message Date
Spencer McIntyre 94fd173e8e Update module docs, report the vuln 2021-10-19 16:40:24 -04:00
Spencer McIntyre 0213efe588 Use Metasploit's HTTP server to trigger the DoS 2021-10-19 15:06:02 -04:00
Matthew Dunn d42e119b8f Minor updates 2021-10-19 12:14:01 -04:00
Matthew Dunn efcab13785 Add PROPFIND internal ip discovering, fix module, rubocop module, update documentation 2021-10-19 11:56:36 -04:00
adfoster-r7 3f64406255 Land #15732, Add flag for running command in pty 2021-10-18 23:52:10 +01:00
dwelch-r7 f2292c4b5c update payload cache sizes 2021-10-18 17:33:32 +01:00
h00die 165acca028 wp_automatic_plugin 2021-10-17 13:04:38 -04:00
William Vu 83500a17d4 Update vmware_vcenter_analytics_file_upload 2021-10-14 16:58:04 -05:00
William Vu 42ed1b6eef Add Windows support to CVE-2021-26084 exploit 2021-10-14 16:58:04 -05:00
h00die d390535866 bulletproofsecurity info disclosure 2021-10-12 18:43:41 -04:00
adfoster-r7 9f0804cbfb Fix Meterpreter spelling mistake 2021-10-12 23:40:43 +01:00
dwelch-r7 dcb42da269 Land #15612, Add multiple moodle modules 2021-10-11 23:18:55 +01:00
h00die b970e38edb spell betterer 2021-10-11 16:44:32 -04:00
h00die 59aa525ecb rubocop 2021-10-11 16:23:09 -04:00
Matthew Dunn f94e2cc513 Switch to using RHOST to avoid default RHOSTS resolving to 8 IPs 2021-10-11 16:16:29 -04:00
h00die 0745bbe4d8 pie-register on wordpress 2021-10-11 15:25:07 -04:00
RAMELLA Sébastien 60b2b0f009 update modules and docs 2021-10-10 17:01:15 +04:00
RAMELLA Sébastien 256b4edf78 update modules to CVE-2021-42013 2021-10-08 15:22:47 +04:00
surya 2f00ccfbc8 Linted Stuff 2021-10-08 03:04:34 +05:30
surya 59ffc44dbc Cleared a minor error 2021-10-08 02:57:13 +05:30
surya d1e3a104db Merged branches 2021-10-08 02:55:39 +05:30
surya 4d4b51d158 => Added .gitignore
=> Added Deobfuscated HTML Payload
=> Removed Extra Author Credits
=> Made SRVHOST AND SRVPORT MANDATORY
=> generate_uri replaced with builtin get_uri
2021-10-08 02:50:27 +05:30
RAMELLA Sébastien 5fcc268c78 merge work from @RootUp PR 2021-10-07 23:36:17 +04:00
Joshua Rogers c58dd6bfd1 Use HttpClient in place of sockets. Lintify. 2021-10-07 19:04:46 +02:00
Matthew Dunn ec88c088d1 Fix some of the requested changes 2021-10-07 11:14:46 -04:00
Matthew Dunn e32d112c8f Rewrite module in ruby 2021-10-07 10:33:05 -04:00
Joshua Rogers eb10f2ac1f Fix typo in ruby script. Add documentation .md file. 2021-10-07 14:01:00 +02:00
Joshua Rogers 1db96ad985 Add notes. 2021-10-07 13:57:11 +02:00
Joshua Rogers fac5f0c987 Add PoC for CVE-2021-31806 Squid DoS Attack 2021-10-07 13:29:56 +02:00
William Vu 262b5e09f0 Add VMware vCenter Server CVE-2021-22005 exploit 2021-10-06 16:43:57 -05:00
RAMELLA Sébastien 15f25095c5 add notes 2021-10-07 00:04:28 +04:00
RAMELLA Sébastien 275d6dd17b fighting with rubocop 2021-10-06 23:54:08 +04:00
Matthew Dunn 9a58750969 Update some references 2021-10-06 13:48:26 -04:00
Matthew Dunn 1d0c8cdc0c Add Azure AD Login Module 2021-10-06 13:34:46 -04:00
RAMELLA Sébastien 89515736d4 add. apache CVE-2021-41773 RCE 2021-10-06 21:00:59 +04:00
bwatters ff2a65976e Land #15698, Add PoC for CVE-2021-22555 Netfilter Priv Escalation
Merge branch 'land-15698' into upstream-master
2021-10-06 12:00:32 -05:00
adfoster-r7 28eab4d871 Add Meterpreter compatibility metadata 2021-10-06 13:54:51 +01:00
suryasaradhi cbbb83073f Added Authors 2021-10-05 21:03:45 +05:30
adfoster-r7 9884634d0b Land #15744, update description, refs, and rubocop on tomcat_jsp_upload_bypass 2021-10-05 10:25:47 +01:00
h00die d9d3204e1c update description, ref, rubocop 2021-10-04 22:14:51 -04:00
surya 48388133dd Msftidy up code v2 2021-10-05 02:33:36 +05:30
Grant Willcox f93e1a2488 Land #15730, Update Gitea Git hooks RCE check method 2021-10-04 15:47:04 -05:00
surya 171f114ce2 Msftidy up code v1 2021-10-05 02:10:33 +05:30
surya 3461c7aef6 Added module for CVE-2021-40444 2021-10-05 01:44:34 +05:30
adfoster-r7 50ad2f13e1 Land #15739, Add Diagnostic State Module for hwbridge 2021-10-04 17:49:24 +01:00
sjanusz 2c7aa022d4 Add PoC for CVE-2021-22555 Netfilter Priv Escalation 2021-10-04 16:48:23 +01:00
Jay Turla 613d26743a Update diagnostic_state.rb 2021-10-04 07:31:06 +08:00
h00die 43d77d63ce ghostcat meta updates 2021-10-03 16:30:12 -04:00
h00die f49d817ac4 working on cd 2021-10-03 16:13:38 -04:00
Jay Turla 8bdbf99c80 Add Diagnostic State Module
## Introduction
This module will keep the vehicle in a diagnostic state on rounds by sending tester present packet.

## Verification Steps

Fire up virtual CAN bus:

1. `sudo modprobe can`
2. `sudo modprobe vcan`
3. `sudo ip link add dev vcan0 type vcan`
4. `sudo ip link set up vcan0`

Launch msf:

5. Start `msfconsole`
6. `use auxiliary/server/local_hwbridge`
7. `set uripath testbus`
8. `run`
9. `use auxiliary/client/hwbridge/connect`
10. `set targeturi testbus`

## Options

```
Module options (post/hardware/automotive/diagnostic_state):

   Name     Current Setting  Required  Description
   ----     ---------------  --------  -----------
   ARBID    0x7DF            no        CAN ID to perform ECU Hard Reset
   CANBUS                    no        CAN Bus to perform scan on, defaults to connected bus
   ROUNDS   500              yes       Number of executed rounds
   SESSION                   yes       The session to run this module on.
```

## Scenarios
You can test this module doing a candump and you should receive a response for each can frame in a loop at 0x7E8 when running UDS Simulator.

```
msf5 auxiliary(client/hwbridge/connect) > run
[*] Running module against 127.0.0.1

[*] Attempting to connect to 127.0.0.1...
[*] Hardware bridge interface session 1 opened (127.0.0.1 -> 127.0.0.1) at 2019-09-11 04:59:40 -0700
[+] HWBridge session established
[*] HW Specialty: {"automotive"=>true}  Capabilities: {"can"=>true, "custom_methods"=>true}
[!] NOTICE:  You are about to leave the matrix.  All actions performed on this hardware bridge
[!]          could have real world consequences.  Use this module in a controlled testing
[!]          environment and with equipment you are authorized to perform testing on.
[*] Auxiliary module execution completed
msf5 auxiliary(client/hwbridge/connect) > sessions

Active sessions
===============

  Id  Name  Type                   Information  Connection
  --  ----  ----                   -----------  ----------
  1         hwbridge cmd/hardware  automotive   127.0.0.1 -> 127.0.0.1 (127.0.0.1)

msf5 auxiliary(client/hwbridge/connect) > sessions -i 1
[*] Starting interaction with 1...

hwbridge > run post/hardware/automotive/diagnostic_state canbus=vcan0

[*] Putting the vehicle in a diagnostic state...
[*] In order to keep the vehicle in this state, you need to continuously send a packet to let the vehicle know that a diagnostic technician is present.
hwbridge >
```

You can use candump to verify the CAN messages being sent:

```
─$ candump vcan0
└─$ candump vcan0
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E
  vcan0  7E8   [4]  03 7E 00 00
  vcan0  7DF   [2]  01 3E

-- snippet --
```

UDS Server Output
```
└─$ ./uds-server -v -V "PWN3D" vcan0
Using CAN interface vcan0
Fuzz level set to: 0
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E
Pkt: 7DF#01 3E

-- snippet --
```
2021-10-04 01:35:31 +08:00