Pre-Auth RCE in UniFi OS — CVE-2026-34909 One Request to Roo... - #2720
Open
carlospolop wants to merge 1 commit into
Open
Pre-Auth RCE in UniFi OS — CVE-2026-34909 One Request to Roo...#2720carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://catchify.sa/post/pre-auth-rce-unifi-os-one-request-to-root Content Categories: Based on the analysis, this content was categorized under "Pentesting Web → File Inclusion/Path Traversal and Login Bypass (reverse-proxy canonicalization and authentication-prefix bypass), with cross-references to SQL Injection, Command Injection, JWT Vulnerabilities, and Linux Hardening → Sudo Command Abuse". 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
Research overview
The post documents four vulnerability reports, represented by three CVE identifiers, affecting the shared UniFi OS web perimeter and the UniFi Talk, UniFi Access, and ulp-go identity services. The findings are CVE-2026-50747, covering two PostgreSQL injection patterns reachable by the lowest UniFi Talk role; CVE-2026-50748, an OS command injection and Linux privilege-escalation chain in UniFi Access; and CVE-2026-34909🔧 Technical Details
Ineffective post-construction SQL formatting: Passing an already assembled SQL string through a formatting function does not sanitize it when the function only escapes arguments associated with placeholders. With PostgreSQL
pg-format, values must be supplied through specifiers such as%Lor, preferably, parameterized queries. Code that first interpolates attacker-controlled values and then callspgFormat(completedQuery)without placeholders remains directly injectable. Test every reachable parameter independently using boolean response differences, time delays, and database error behavior.Stacked SQL injection through manually quoted arrays: An array-to-SQL helper is vulnerable when it surrounds strings with single quotes, joins them with commas, and inserts the resulting fragment into a query without real escaping. An input can close the current quote and parenthesized list, terminate the original state...
🤖 Agent Actions
Updated
src/pentesting-web/proxy-waf-protections-bypass.md.Added:
$request_uriversus normalized$uriauthorization bypasses.curl --path-as-istesting examples.Validation passed for whitespace, references, internal links, duplication, and forbidden sources.
mdbook buildwas unavailable becausemdbookis not installed.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.