Skip to main content

Poweradmin CVE-2026-47693

MEDIUM
Improper Neutralization of Formula Elements in a CSV File (CWE-1236)
2026-06-08 https://github.com/poweradmin/poweradmin GHSA-3h6h-67x3-cv5x
6.9
CVSS 3.1 · Vendor: https://github.com/poweradmin/poweradmin
Share

Severity by source

Vendor (https://github.com/poweradmin/poweradmin) PRIMARY
6.9 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N

Primary rating from Vendor (https://github.com/poweradmin/poweradmin) · only source for this CVE.

CVSS VectorVendor: https://github.com/poweradmin/poweradmin

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

3
Source Code Evidence Fetched
Jun 08, 2026 - 23:39 vuln.today
Analysis Generated
Jun 08, 2026 - 23:39 vuln.today
CVE Published
Jun 08, 2026 - 23:04 nvd
MEDIUM 6.9

DescriptionCVE.org

Description:

Summary

Poweradmin v4.4.0 is vulnerable to CSV Injection (Formula Injection) in its log export functionality. User-controlled data - specifically the username field - is written to exported CSV files without sanitizing formula trigger characters (=, +, -, @). When an administrator exports activity logs and opens the resulting CSV in a spreadsheet application (Microsoft Excel, LibreOffice Calc, Google Sheets), any formula stored in a username is executed by the application. This can be used for phishing attacks against administrators or data exfiltration.

Details

The vulnerability exists in all four log export controllers:

  • lib/Application/Controller/ListLogUsersController.php (lines 188, 194)
  • lib/Application/Controller/ListLogZonesController.php
  • lib/Application/Controller/ListLogGroupsController.php
  • lib/Application/Controller/ListLogApiController.php

These controllers export database rows via fputcsv() without applying any formula injection countermeasures. The user column contains the username of the actor who performed the operation, and the username column (in user logs) contains the username of the affected account. Both fields are written verbatim to the CSV output.

A username such as =1+1 is written without CSV enclosure quotes (because it contains no commas or quotes), so spreadsheet applications treat it directly as a formula. A username containing commas or quotes (e.g. =HYPERLINK("http://attacker.com","Click here")) is enclosed in CSV quotes with internal quotes doubled, but spreadsheet applications still evaluate the cell value as a formula since it begins with =.

Additionally, PHP deprecation warnings are emitted directly into the HTTP response body before CSV headers, exposing internal file paths (e.g. /app/lib/Application/Controller/ListLogUsersController.php) - a secondary information disclosure issue (CWE-209). This also corrupts the CSV file when PHP error reporting is enabled.

PoC

Prerequisites: An account with user_add_new permission (administrator role).

Steps to reproduce:

  1. Log in as administrator.
  2. Navigate to Add User and create an account with:
  • Username: =HYPERLINK("http://attacker.com","Confirm Identity")
  • Any valid email and password
  1. Log out, then log in with the newly created account to generate a log entry.
  2. Log back in as administrator.
  3. Navigate to /users/logs and click Export CSV.
  4. Open the downloaded CSV file in Microsoft Excel or LibreOffice Calc.

Result: Excel renders a clickable hyperlink labeled "Confirm Identity" pointing to http://attacker.com in the user column of the log entry. With the simpler username =1+1, the cell displays 2 instead of the literal text, confirming formula execution.

Confirmed on Poweradmin v4.4.0 (Docker image poweradmin/poweradmin:latest).

Impact

This is a CSV Injection vulnerability (CWE-1236). It affects any administrator who exports activity logs to CSV and opens the file in a spreadsheet application.

Attack scenarios:

  • Phishing: A malicious actor with the ability to create user accounts sets a formula username that renders as a convincing link in the exported report, tricking a higher-privileged administrator into clicking it.
  • Data exfiltration: Using =IMPORTXML() in Google Sheets or similar, adjacent cell data (log contents) can be sent to an attacker-controlled server silently when the sheet is opened.

AnalysisAI

CSV Injection in Poweradmin's log export functionality allows a high-privileged attacker to embed spreadsheet formulas in usernames that execute when an administrator exports activity logs and opens the resulting CSV in Excel, LibreOffice Calc, or Google Sheets. All four log export controllers pass username fields directly to PHP's fputcsv() without neutralizing formula trigger characters (=, +, -, @), enabling phishing via rendered hyperlinks and silent data exfiltration via =IMPORTXML() or similar functions targeting victim administrators. Publicly available exploit code exists per GHSA-3h6h-67x3-cv5x; the vulnerability is not listed in CISA KEV.

Technical ContextAI

Poweradmin is a PHP-based DNS management web application (Composer package poweradmin/poweradmin). The vulnerability root cause is CWE-1236 (Improper Neutralization of Formula Elements in a CSV File): four log export controllers - ListLogUsersController.php (lines 188, 194), ListLogZonesController.php, ListLogGroupsController.php, and ListLogApiController.php - use PHP's fputcsv() to write database rows including user-controlled username fields to CSV output without prepending a sanitizing character (e.g., tab or single-quote) before formula-trigger characters (=, +, -, @). Because CSV is a plain-text format with no data-type semantics, spreadsheet applications including Microsoft Excel, LibreOffice Calc, and Google Sheets interpret cells beginning with these characters as executable formulas at open time. A secondary CWE-209 (Information Disclosure through Error Messages) issue exists because PHP deprecation warnings are emitted into the HTTP response before CSV headers, leaking internal file paths such as /app/lib/Application/Controller/ListLogUsersController.php and corrupting exported files when PHP error reporting is enabled.

RemediationAI

Upgrade to Poweradmin 4.2.4 if running on the 4.2.x branch, or to Poweradmin 4.3.3 if running on the 4.3.x branch; the v4.2.4 release notes explicitly confirm 'CSV export quotes leading special characters in cells' as a fix (https://github.com/poweradmin/poweradmin/releases/tag/v4.2.4), and v4.3.3 is the designated fix version for the 4.3.x line per the advisory (https://github.com/poweradmin/poweradmin/releases/tag/v4.3.3). Administrators running version 4.4.0 should consult the upstream advisory GHSA-3h6h-67x3-cv5x to determine whether a 4.4.x patch has been issued, as that version was used in the PoC but is not covered by the listed fix ranges. As a compensating control, restrict the user_add_new permission to the minimum necessary accounts to reduce the attacker's ability to inject formula usernames - note this does not eliminate risk if any privileged user retains that permission. Additionally, configure spreadsheet applications used by administrators to prompt before evaluating formulas from external data (Excel: File > Options > Trust Center > Protected View; LibreOffice: Tools > Macros > disable), though this relies on endpoint configuration outside Poweradmin's control and cannot be centrally enforced.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-47693 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy