-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ivanti Sentry MICSLogService Auth Bypass resulting in RCE (CVE-2023-38035) #18330
Merged
cgranleese-r7
merged 10 commits into
rapid7:master
from
jheysel-r7:ivanti-sentry-misc-log-service
Sep 13, 2023
Merged
Ivanti Sentry MICSLogService Auth Bypass resulting in RCE (CVE-2023-38035) #18330
cgranleese-r7
merged 10 commits into
rapid7:master
from
jheysel-r7:ivanti-sentry-misc-log-service
Sep 13, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wvu
reviewed
Aug 30, 2023
Co-authored-by: wvu <[email protected]>
jvoisin
approved these changes
Sep 1, 2023
documentation/modules/exploit/linux/http/ivanti_sentry_misc_log_service.md
Outdated
Show resolved
Hide resolved
documentation/modules/exploit/linux/http/ivanti_sentry_misc_log_service.md
Show resolved
Hide resolved
documentation/modules/exploit/linux/http/ivanti_sentry_misc_log_service.md
Outdated
Show resolved
Hide resolved
cgranleese-r7
added
the
rn-modules
release notes for new or majorly enhanced modules
label
Sep 7, 2023
Co-authored-by: cgranleese-r7 <[email protected]>
jheysel-r7
commented
Sep 7, 2023
…7/metasploit-framework into ivanti-sentry-misc-log-service
Everything seems to be working as expected 👍
|
Release NotesThis PR adds an exploit module that targets Ivanti Sentry (formerly Mobileiron Sentry) which is vulnerable to an authentication by-pass which exposes API functionality which allows for code execution in the context of the root user. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ivanti Sentry (formerly Mobileiron Sentry) is vulnerable to an authentication by-pass which exposes API functionality which
allows for code execution in the context of the root user. The vulnerable endpoint
/mics/services/MICSLogService
exposes a binary web service protocol 'Hessian' which allows remote users to invoke functions within the target. One of the functions accessible via Hessian and the vulnerable endpoint isuploadFileUsingFileInput
which accepts acommand
argument that gets directly fed into aRuntime.getRuntime().exec(cmd)
call. The command is run in the context of thetomcat
user however by defaulttomcat
is in the sudoers file and thus we can use this to execute the payload in the context of theroot
user.Verification
List the steps needed to make sure this thing works
msfconsole
use exploit/linux/http/ivanti_sentry_misc_log_service
set RHOST [IP]
set FETCH_SRVHOST [IP]
set LHOST [IP]
exploit
Testing on MobileIron Sentry 9.12.0-16 (Unix In Memory)