All vulnerabilities

Servers and applications

GHSA-c3p2-mj7v-5mrc

Customer-controlled subdomain redirect URL allows nginx/Apache config injection

Severity
Critical 9.9
Published
29 Jun 2026
Last changed
29 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.2.5
Weakness
CRLF injection (CWE-93)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Sources
Project advisories (GitHub)

Description

A customer with subdomain creation or modification rights can inject arbitrary nginx or Apache configuration directives by supplying a redirect URL containing a literal newline character. The URL path component is never validated for newlines, so the injected content is written verbatim into web server vhost config files during the cron rebuild cycle.

In lib/Froxlor/Api/Commands/SubDomains.php, customers can supply a url parameter when calling SubDomains.add or SubDomains.update. This URL is validated by Validate::validateUrl() (Validate.php:198), which only checks the scheme (http/https) and the hostname — the URL path/query/fragment is never checked for newline characters.

The validated URL is stored in the documentroot column and later interpolated directly into nginx vhost config (Cron/Http/Nginx.php:633):

From froxlor/froxlor's security advisory.

Affected software

SoftwareAffected versions
FroxlorServers and applications · github:froxlor/froxlor
  • Every version before 2.2.5

About Froxlor

The server administration software for your needs - The official Froxlor development Git repository

From its GitHub repository.
Monthly downloads (Packagist)
159Packagist, 15 Nov 2026
Total downloads (Packagist)
406Packagist, 15 Nov 2026
GitHub stars
1,752GitHub, 15 Nov 2026
Forks
467GitHub, 15 Nov 2026
Latest release
2.3.17GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
GNU Lesser General Public License, version 2.1Wikidata
Written in
PHPWikidata
First published on GitHub
6 Mar 2012GitHub

References