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
Share

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
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

DescriptionNVD

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. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Register account with formula username
Delivery
Authenticate to generate log entry
Exploit
Administrator navigates to log export endpoint
Execution
Administrator exports and opens CSV
Persist
Spreadsheet evaluates formula on file open
Impact
Phishing link renders or data exfiltrated

Vulnerability AssessmentAI

Exploitation The attacker must hold a Poweradmin account with the user_add_new permission (administrator role) to register a user account bearing a formula-injected username - PR:H in the CVSS vector confirms this high-privilege prerequisite for the attacker. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 6.9 score with vector AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N reflects a network-reachable, low-complexity attack that nonetheless requires high privileges on the attacker side (PR:H) and mandatory user interaction from a victim administrator (UI:R). … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker with user_add_new privileges registers a Poweradmin account with the username =HYPERLINK("http://attacker.com","Confirm Identity"), then authenticates once to generate an activity log entry containing the formula. When an unsuspecting administrator later exports the user activity log as CSV via /users/logs and opens the file in Microsoft Excel or LibreOffice Calc, the spreadsheet renders a clickable hyperlink in the user column pointing to the attacker's phishing page, where the administrator may be deceived into submitting credentials. …
Remediation 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). … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

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