Critical Vulnerabilities in Ivanti EPMM Exploited#1909
Open
carlospolop wants to merge 1 commit intomasterfrom
Open
Critical Vulnerabilities in Ivanti EPMM Exploited#1909carlospolop wants to merge 1 commit intomasterfrom
carlospolop wants to merge 1 commit intomasterfrom
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://unit42.paloaltonetworks.com/ivanti-cve-2026-1281-cve-2026-1340/ Content Categories: Based on the analysis, this content was categorized under "Network Services Pentesting -> Pentesting Web (or Generic Hacking) -> Command Injection / Bash injection patterns (add a subsection on Bash arithmetic evaluation injection in RewriteMap/CGI-like scripts)". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or 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
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.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Post context / why this matters
Unit 42 (Palo Alto Networks) reports active in-the-wild exploitation of two critical zero-day vulnerabilities in Ivanti Endpoint Manager Mobile (EPMM, formerly MobileIron Core):
- CVE-2026-1281 (CVSS 9.8)
- CVE-2026-1340 (CVSS 9.8)
Both issues enable unauthenticated remote code execution (RCE) against internet-facing EPMM servers, allowing attackers to execute arbitrary commands ...
🔧 Technical Details
Bash arithmetic-evaluation RCE via RewriteMap: When Apache RewriteMap calls a bash script to rewrite URLs, user-controlled query parameters can be assigned to variables later used in arithmetic comparisons (e.g.,
[[ $now -gt $userVar ]]). If the attacker can make$userVarresolve to another variable name (e.g.,theValue) and then populatetheValuewith a construct that triggers execution during expansion (the post’s example uses an array-index-style payload likegPath['sleep 5']), bash can execute the embedded command as part of evaluation, yielding unauthenticated command execution. A practical validation technique is timing-based probing: injectsleep 5and confirm exploitation if the HTTP request stalls ~5 seconds before returning an error (e.g., 404), then follow up with payload delivery (reverse shell, web shell drop).Feature-to-endpoint mapping for discovery: Identify which RewriteMap-backed s...
🤖 Agent Actions
Updated src/pentesting-web/command-injection.md with a new subsection on bash arithmetic-evaluation RCE in Apache RewriteMap/CGI-style bash scripts. Added attack flow, sample timing-based probe, notes on alternate paths, and guidance on payload staging. Included the Unit 42 Ivanti article as a reference.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.