adfoster-r7
4a9a15e638
Run Rubocop layout rules on modules
2021-08-27 17:19:43 +01:00
adfoster-r7
951809e164
Land #15491 , add module stability notes
2021-07-29 17:24:42 +01:00
space-r7
809081bc5f
Land #15279 , add Pi-Hole lpe
2021-07-29 11:15:17 -05:00
space-r7
0561ae978f
fix typos, pihole version in docs
2021-07-29 11:13:58 -05:00
cgranleese-r7
56510a2e8e
Updates some notes on modules that weren't passing tests due to new rubocop rule
2021-07-28 16:20:02 +01:00
Grant Willcox
570ba091f6
Update some typos in the documentation and also update the exploit module to handle various cases whereby the dbus-send command might end up timing out due to TIMEOUT being too low and to fix some final issues found during testing
2021-07-08 16:24:01 -05:00
Grant Willcox
9f88ef0954
Fix up review comments
2021-07-08 16:22:29 -05:00
Jack Heysel
54ee8f7ae7
Added cmd_delay nil check, updated title
2021-07-08 16:20:45 -05:00
Jack Heysel
0f67dd5212
Fixed get_cmd_delay, reponded to comments
2021-07-08 16:20:38 -05:00
Jack Heysel
9a07039e7e
Updated docs
2021-07-08 16:09:15 -05:00
Jack Heysel
fdbf669da2
Fixed check for /bin/su
2021-07-08 16:09:12 -05:00
Jack Heysel
285a6338fa
Print error instead of failwith when exploit commands unsuccessful
2021-07-08 16:09:12 -05:00
Jack Heysel
f797f30651
Fixed call to write directory
2021-07-08 16:09:04 -05:00
Jack Heysel
1a73cfbe25
Updated check method
2021-07-08 16:09:03 -05:00
Jack Heysel
c5a9ecd45b
WritableDir as advanced opt
2021-07-08 16:09:03 -05:00
Jack Heysel
f87f831aba
Module updates + Docs
2021-07-08 16:09:02 -05:00
Jack Heysel
8d2d445699
Send one large command over many of smaller size
2021-07-08 16:08:36 -05:00
Jack Heysel
e7608d79f6
Polkit authentication bypass
2021-07-08 16:08:33 -05:00
Spencer McIntyre
dc9c0035ab
Land #15371 , check if apport-cli is in $PATH
...
Fixes #15370
2021-07-08 09:28:35 -04:00
Spencer McIntyre
636b790acb
Update to using the AutoCheck mixin
2021-07-08 09:03:42 -04:00
Christophe De La Fuente
daa5b32393
Update from review
...
- Remove `MeterpreterTryToFork` option logic
- Add `Prepend` code directly under `Payload` info
- Rebase to use the updated `PrependFork`
- Add logic to verify that shells specified in the options really exist
on the remote host
2021-06-30 18:13:35 +02:00
Christophe De La Fuente
eca20bec92
Update from code review
...
- Fix documentation typos
- Rename `MeterpreterBackground` Mettle option to `MeterpreterTryToFork`
2021-06-30 11:02:11 +02:00
Christophe De La Fuente
ccaedd6c9a
Last additions and improvements
...
- add binaries
- add documentation
- backup `runc` binary in the exploit C file
- add `MeterpreterBackground` options to set Mettle `background` option
- add `WsfDelay` logic
- refactor code
- add cleanup logic
- add restore `runc` binary logic
2021-06-30 11:02:11 +02:00
Christophe De La Fuente
1b59b8c83e
Rebase and fix conflicts in lib/msf/core/post/common.rb
2021-06-30 11:02:11 +02:00
Brendan Coles
d40656b852
apport_abrt_chroot_priv_esc: check if apport-cli is in $PATH
2021-06-25 11:48:16 +00:00
h00die
eb4170678b
use faker
2021-06-06 11:57:23 -04:00
Grant Willcox
69690ef09e
Fix RuboCop issues with sudo_baron_samedit.rb that were causing failures in some builds
2021-06-04 12:03:13 -05:00
pingport80
fe8e586b22
fall to shell when meterpreter fails get_processes
...
shift `pidof` to `Msf::Post::Process`
2021-06-01 18:51:39 +05:30
h00die
3f1bb4b51e
rename module, add docs
2021-05-30 14:48:39 -04:00
h00die
0c3a693bef
working exploit and docs
2021-05-30 14:37:11 -04:00
Spencer McIntyre
56388cd696
Land #15146 , Add support for extra OSes for CVE-2021-3156 (Baron Samedit)
2021-05-18 18:02:30 -04:00
Spencer McIntyre
a8a1cf75b8
Reorder the Fedora targets to be descending
2021-05-18 18:02:12 -04:00
Alan Foster
100da2f1b1
Enforce Style/RedundantBegin for new modules
2021-05-13 04:01:03 +01:00
Ashley Donaldson
5dc8d0e684
Added automatic cleanup for exploit scripts that modify /etc/passwd
2021-05-06 21:50:03 +10:00
Ashley Donaldson
832813f057
If the exploit is completed but no session is created, tell the user if they have alternative exploits they could try.
2021-05-06 12:37:18 +10:00
Ashley Donaldson
000546e551
Rubocop changes
2021-05-04 16:24:00 +10:00
Ashley Donaldson
fbc291bc22
Tested on various other Fedora's
2021-05-04 14:18:16 +10:00
Ashley Donaldson
7f89ac44ce
Tested module on Fedora 25
...
Also verify user does not already exist when adding a new user
2021-05-04 10:38:28 +10:00
Ashley Donaldson
0435e281d9
Updated CVE-2021-3156 documentation to reflect code changes.
2021-05-03 16:45:50 +10:00
Ashley Donaldson
3722435a25
Tested and verified exploitability of second CVE-2021-3156 exploit on three platforms
2021-04-30 18:51:06 +10:00
Ashley Donaldson
b1d2c39c98
Added second CentOS 7 exploit
2021-04-30 18:30:19 +10:00
Ashley Donaldson
124d157a1c
Added CVE-2021-3156 exploits for CentOS 7 and 8
2021-04-30 17:25:59 +10:00
Ashley Donaldson
79152cafe6
Added support for Ubuntu 14.04.3 for CVE-2021-3156
2021-04-29 20:48:51 +10:00
Ashley Donaldson
9d9d3ce061
Added Ubuntu 16.04-specific exploit script to CVE-2021-3156 module
...
The generic approach used for other targets doesn't work for 16.04, as that one relies on tcache bins, which are not present in glibc 2.23.
2021-04-29 18:28:13 +10:00
Ashley Donaldson
fcd17ed3b1
Port sudoedit exploit to Python
...
It's assumed that Python is more likely to be present on the target system
than gcc, so is better as a dependency.
2021-04-29 13:17:32 +10:00
dwelch-r7
319f15d938
Handle nil versions for rubygems 4
2021-02-25 16:47:49 +00:00
Alan Foster
b06c5c12aa
Rubocop recently landed modules continued
2021-02-25 14:13:40 +00:00
Tim W
edea755096
Land #14740 , CVE-2021-3156 Sudo LPE (AKA: Baron Samedit) Improvements
2021-02-22 17:48:33 +00:00
Alan Foster
5b3fde7735
Rubocop recently landed modules
2021-02-16 15:08:08 +00:00
Spencer McIntyre
01593f21b4
Add the Ubuntu 19.04 target for CVE-2021-3156
2021-02-12 10:06:47 -05:00