Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as site administrator
-
DeliverySubmit crafted PHP in cache setting field
-
ExploitPayload written unescaped to ossn.config.dcache.php
-
ExecutionConfig file loaded and PHP executed
-
ImpactServer-side code execution in OSSN context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated OSSN site administrator account and access to the Cache Settings feature at actions/administrator/cache/dynamic.php; the attacker must submit crafted PHP in one of the host, port, username, password, type, or status arguments, which pre-patch is concatenated directly into the generated ossn.config.dcache.php file. Limiting factors that reduce real-world risk: (1) administrator-level authentication is mandatory (PR:H), and in OSSN administrators are trusted users who can already upload arbitrary PHP components/themes, so this grants no new capability; (2) the dynamic cache feature must be in use/configured; (3) it is effectively a self-authorized action rather than a cross-privilege escalation. No unauthenticated or lower-privilege path exists per the available data. |
| Impact | This is a high-CVSS-label-absent, genuinely LOW real-risk issue, and the signals are internally consistent. The CVSS 4.0 base score is 1.9, with a vector (AV:N/AC:L/AT:N/PR:H/UI:P) that requires High privileges - i.e. an authenticated site administrator. CWE-94 (code injection) via the Cache Settings host/port/username/password/type/status arguments written unescaped into ossn.config.dcache.php technically yields PHP code execution, but the vendor (OSSN) explicitly states administrators are fully trusted users who by design can already upload arbitrary PHP components/themes - so the flaw grants an admin no capability they do not already possess. Exploitation signal: publicly available exploit code exists (a GitHub gist is linked as an exploit reference); this is NOT confirmed active exploitation - the CVE is not in CISA KEV and no EPSS score was provided in the input. Do not conflate the public POC with in-the-wild use. The SSVC/decision view: exploitation is 'POC' (E:P in the 4.0 vector), technical impact is partial (VC:L/VI:L/VA:L as scored by the reporter, though code injection could arguably be higher), and it is not automatable given the admin prerequisite. Net: this is a defense-in-depth hardening fix, not an urgent priority. The main caveat to flag explicitly: the reporter scored impact as Low (VC:L/VI:L/VA:L) despite the bug being code injection/RCE-class - the limiting factor justifying 'Low' is the pre-existing admin trust model, not a limit on the code-execution primitive itself. |
| Exploit ScenarioDerived | An authenticated OSSN site administrator (or an attacker who has already hijacked an admin session) opens the dynamic cache configuration and submits cache settings (e.g. the host or username field) containing crafted PHP, which is written unescaped into ossn.config.dcache.php and executed when the cache config is loaded. A public proof-of-concept exploit exists as a GitHub gist. Because CVSS requires PR:H, this is a privilege-already-held scenario rather than a path from unauthenticated outsider to code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 20, 2026
PHP code injection in Open Source Social Network (OSSN) through the dynamic cache settings handler at actions/administrator/cache/dynamic.php allows a site administrator to break out of the generated configuration template and write arbitrary PHP into ossn.config.dcache.php by supplying crafted host, port, username, password, type, or status values that are concatenated without escaping. Publicly available exploit code exists (a Gist linked from the CVE record), and the issue affects OSSN up to versions 9.11 and 10.1. Exploitation is gated behind a fully authenticated administrator account on a site where the dynamic cache feature is configured, and because OSSN administrators are by design trusted users who can already upload components and themes containing arbitrary PHP, the primitive grants no capability beyond what an admin already holds - the vendor frames the fix as defense-in-depth and real-world risk is correspondingly low.
RemediationAI
Update to an OSSN build that contains commit 40945057cb451f0f35153110bc7e889c094400e1 (https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/40945057cb451f0f35153110bc7e889c094400e1); this is an upstream commit-level fix, and a corresponding tagged release beyond 10.1 was not independently confirmed from the supplied data, so verify the fix is present in the changelog or by inspecting dynamic.php for the $exported_settings = var_export($settings, true) pattern before relying on a version number alone. Because no fix is available for existing 9.11/10.1 deployments without applying the commit, the effective compensating controls are administrative: restrict admin panel access to a trusted network segment or VPN and enforce strong credentials on administrator accounts, noting that this only reduces the chance of a hijacked admin session since the vulnerable action is itself admin-only; if dynamic cache is not in active use, remove write access to the configs/ directory (chmod the directory read-only for the web user or move ossn.config.dcache.php outside the webroot), which blocks the file_put_contents() write that carries the payload but will also prevent legitimate cache reconfiguration until it is reversed; and monitor integrity of configs/ossn.config.dcache.php for unexpected PHP statements using a file-integrity or hash-baseline control. Note that these measures do not address the fact that an OSSN administrator can already achieve code execution by uploading a custom component or theme containing PHP, which is the vendor's stated rationale for treating this patch as defense-in-depth rather than a privilege boundary fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-94 code injection arising from unsafe string interpolation in PHP. In the affected handler, the administrator-supplied cache settings ($status, $type, $host, $port, $username, $password) are pasted directly between single quotes inside a heredoc-style PHP template string and then persisted with file_put_contents() to configs/ossn.config.dcache.php - a file that the application subsequently includes/executes. Any value containing a single quote and PHP syntax (e.g. closing the quote and appending a statement) escapes the string literal and becomes executable code in a file loaded on every request. The upstream commit 40945057cb451f0f35153110bc7e889c094400e1 remediates the root cause by casting each field to string, collecting them in an array, and serializing with var_export($settings, true) before assignment to $Ossn->dynamic_cache_settings, which produces a safely-escaped PHP literal instead of attacker-influenced source text. The CPE record (cpe:2.3:a:n/a:opensource-socialnetwork:*:*:*:*:*:*:*:*) is a wildcard entry, so version granularity must come from the advisory text rather than CPE matching. The supplied CVSS v4.0 score is 1.9 (AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L/E:P), reflecting the mandatory high-privilege precondition; an independent CVSS v3.1 assessment scores AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, which measures the raw technical impact of the injection once the admin precondition is met but should not be read as elevated real-world exposure, since no unauthenticated or lower-privilege path exists in the available data.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Admin-only Cache Settings write forces PR:H; no victim interaction needed since the admin is the actor (UI:N); unescaped input into an executed PHP config yields full code execution, so C/I/A:H.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in opensource-socialnetwork up to 9.11/10.1. This affects the function input of the file actions/administrator/cache/dynamic.php of the component Cache Settings. Performing a manipulation of the argument host/port/username/password/type/status results in code injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks. The patch is named 40945057cb451f0f35153110bc7e889c094400e1. Applying a patch is the recommended action to fix this issue. The vendor explains: "While we have implemented this patch as a defense-in-depth measure, we emphasize that in Open Source Social Network (OSSN), site administrators are fully trusted users who are intentionally granted broad system authority by design including the native ability to upload custom components/themes containing arbitrary PHP code."
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-104967
GHSA-ffmc-9qpw-2r5x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB