CVE-2023-1313
PHP vulnerability analysis and mitigation

Overview

Unrestricted Upload of File with Dangerous Type vulnerability was discovered in GitHub repository cockpit-hq/cockpit versions prior to 2.4.1. The vulnerability was identified and assigned CVE-2023-1313 on March 10, 2023. This security flaw affected the assets manager component of the Cockpit application (NVD, CVE).

Technical details

The vulnerability stems from insufficient file type validation in the assets manager component, specifically allowing the potential upload of PHP files. The issue was addressed in commit becca806c7071ecc732521bb5ad0bb9c64299592, which implemented additional security checks to prevent the upload of PHP files (GitHub Commit).

Impact

The vulnerability could allow attackers to upload malicious PHP files through the assets manager, potentially leading to remote code execution or other security compromises on affected systems (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 2.4.1 of the Cockpit application. The fix includes implementing proper validation to prevent the upload of PHP files in the assets manager. Users are advised to upgrade to version 2.4.1 or later (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2025-14894HIGH7.5
  • PHPPHP
  • livewire-filemanager/filemanager
NoNoJan 16, 2026
CVE-2026-23626MEDIUM6.8
  • PHPPHP
  • kimai/kimai
NoYesJan 18, 2026
CVE-2025-69198MEDIUM6
  • PHPPHP
  • pterodactyl/panel
NoYesJan 19, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 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

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