All vulnerabilities

Servers and applications

GHSA-p3v3-74gc-jh5f

SSH authorized_keys injection via multi-line ssh_pubkey (customer-controlled)

Severity
Medium 6.5
Published
6 Sept 2026
Last changed
6 Sept 2026
Added to UpHeron
1 Nov 2026
Weakness
CRLF injection (CWE-93)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Sources
Project advisories (GitHub)

Description

A customer with SSH access can store a multi-line value in the ssh_pubkey field of the SshKeys API. The key-validation routine accepts the value because the SSH public-key parser only reads the first line and treats everything after the first newline as the key comment. The root-run cron then writes the stored value verbatim into that customer's ~/.ssh/authorized_keys, so the attacker-controlled second and subsequent lines become independent, fully honored authorized_keys entries. This lets a customer inject arbitrary authorized_keys option lines (for example command="...", from=, environment=) and additional public keys through a single "add SSH key" action, and to plant an entry that the panel can no longer see or remove.

Source (customer-reachable API), lib/Froxlor/Api/Commands/SshKeys.php, add():

The method is @access admin, customer (line 61) and is reachable by a customer whenever system.allow_customer_shell is enabled and the caller's shell_allowed is set (the documented…

From froxlor/froxlor's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FroxlorServers and applications · github:froxlor/froxlor
  • Version 2.3.10

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