← Vulnerability feed

Vulnerability record · CVE-2012-3399 · published 12 July 2012

CVE-2012-3399: Basilic diff.php command injection via file parameter

AArtis.Imag · Basilic

Config/diff.php in Basilic 1.5.14 passes the file parameter to a shell without sanitizing shell metacharacters, allowing remote command execution. The flaw is improper input validation (CWE-20) and is reachable over the network without authentication.

7.5 CVSS 2.0 High EPSS 65% · top 0.8% CWE-20 · Improper input validation
7.5CVSS 2.0 base score
65%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
14References, 4 tagged exploit
16 Jun 2026Last modified by NVD

Description

Config/diff.php in Basilic 1.5.14 allows remote attackers to execute arbitrary commands via shell metacharacters in the file parameter.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityUnauthenticated remote command execution with public exploit code and very high EPSS, though no KEV listing or confirmed active exploitation is recorded.

What it is

Config/diff.php in Basilic 1.5.14 passes the file parameter to a shell without sanitizing shell metacharacters, allowing remote command execution. The flaw is improper input validation (CWE-20) and is reachable over the network without authentication.

Impact

An unauthenticated remote attacker can execute arbitrary commands on the host running Basilic, gaining the privileges of the web server process.

Attack surface

Reached over the network via HTTP requests to Config/diff.php with crafted shell metacharacters in the file parameter. The CVSS vector AV:N/AC:L/Au:N indicates no authentication and no user interaction are required.

Exploitation

Public exploit code exists (Exploit-DB 19631 and SecurityFocus BID 54234 are tagged Exploit), and EPSS is 0.653 with a 99.2 percentile. The CVE is not listed in CISA KEV, so no confirmed in-the-wild exploitation is documented in this record.

What to do

  • Apply the vendor fix for Basilic or upgrade past 1.5.14 if a fixed release exists; the record does not name a patched version.
  • If no patch is available, remove or disable Config/diff.php and restrict access to the Basilic installation.
  • Validate and whitelist the file parameter, rejecting shell metacharacters, and avoid passing user input to shell commands.
  • Run Basilic with least privilege and isolate it from sensitive systems.

Detection

  • Monitor web logs for requests to Config/diff.php containing shell metacharacters such as ;, |, &&, $(), or backticks in the file parameter.
  • Alert on unexpected child processes spawned by the web server user, especially shells or command interpreters.
  • Review outbound connections and file writes originating from the Basilic process for signs of post-exploitation.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2012-3399 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2009-2881Artis.imag basilic sql injection vulnerabilityMultiple SQL injection vulnerabilities in Basilic 1.5.13 allow remote attackers to execute arbitrary SQL commands via the idAuthor parameter to (1) i…EPSS 1.2%9.5CVE-2026-88771Citrix NetScaler Improper Input Validation VulnerabilityImproper input validation vulnerability in Citrix NetScaler ADC and Citrix NetScaler Gateway. This issue affects ADC: before 14.1-73.37, before 13.1-…KEV9.5CVE-2026-93952Arista velocloud orchestrator improper input validation vulnerabilityVeloCloud Orchestrator (VCO) on-prem has a security issue where this issue may allow a remote attacker to access privileged internal functionality an…KEVEPSS 0.90%8.8CVE-2019-1068Microsoft SQL Server improper input validation remote code executionMicrosoft SQL Server mishandles processing of internal functions, allowing an authenticated remote attacker to execute code on the database server. T…KEVEPSS 58%analysed5.9CVE-2025-68686FortiOS symbolic link patch bypass exposes sensitive informationFortiOS contains an information exposure flaw (CWE-200) that lets a remote unauthenticated attacker bypass the patch for the symbolic link persistenc…KEVEPSS 30%analysed9.3CVE-2026-12569PTC Windchill PDMlink and FlexPLM deserialization RCEPTC Windchill PDMlink and FlexPLM contain a deserialization of untrusted data flaw (also classified as improper input validation) that allows remote …KEVEPSS 46%analysed10.0CVE-2026-34910Ubiquiti UniFi OS input validation flaw allows command injectionUniFi OS devices contain an improper input validation vulnerability (CWE-20) that lets a network-reachable attacker inject and execute commands. It a…KEVEPSS 46%analysed7.2CVE-2026-6973Ivanti EPMM improper input validation enables remote code executionIvanti Endpoint Manager Mobile (EPMM) before versions 12.6.1.1, 12.7.0.1, and 12.8.0.1 contains an improper input validation flaw (CWE-20) that lets …KEVEPSS 2.5%analysed

Source: NIST National Vulnerability Database (record CVE-2012-3399), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.