Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged OSSN user
-
ExploitEnumerate sequential/guessed file GUIDs
-
ExecutionRequest /messages/attachment/{guid} route
-
ImpactExfiltrate other users' private attachments
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires a valid authenticated low-privileged account on the target OSSN instance (PR:L) - not remote-unauthenticated. No non-default configuration is needed: the flaw is in the default /messages/attachment/{guid} route handler in components/OssnMessages/ossn_com.php, which calls ossn_get_file() and outputs the file whenever type'message' and subtype'file:attachment' without checking that the logged-in user is the message sender or recipient. Exploitation further requires knowledge or guessing of attachment file GUIDs, which the description states are sequential or guessable, lowering the practical barrier. Limiting factors: attacker must be a registered user, and success depends on valid GUIDs existing for private conversations; no user interaction is required. |
| Impact | This is a credible but moderate-priority information-disclosure flaw rather than a critical remote-takeover bug. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and the assigned score of 7.1 agree with the description: exploitation is remote, low-complexity, requires no user interaction, but does require PR:L - a valid authenticated account on the target OSSN instance. Impact is confined to confidentiality (VC:H, with VI:N/VA:N), consistent with CWE-639 (authorization bypass via user-controlled key / IDOR); there is no code execution, data tampering, or availability impact. A public exploit write-up exists (hackmd), which raises practical exploitability, but the CVE is NOT in CISA KEV and no EPSS score was supplied, so there is no evidence of active or widespread exploitation - treat POC availability and active exploitation as distinct signals. The main caveat: the input Tags label this 'Authentication Bypass', which conflicts with CWE-639 and the description - this is an AUTHORIZATION bypass by an already-authenticated user, not an authentication bypass; the authentication requirement (PR:L) materially limits the attacker population to registered users and should be weighed against the raw score. |
| Exploit ScenarioDerived | An attacker registers or already holds a low-privileged account on an OSSN site, then iterates the /messages/attachment/{guid} route using sequential or guessed file GUIDs. Because the handler does not verify that the requester is the sender or recipient, each valid GUID returns a private conversation's attachment, letting the attacker harvest other users' private files at scale. A public exploit write-up documenting this technique is available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 10, 2026
Information disclosure in Open Source Social Network (OSSN) through 10.1 allows authenticated users to read other users' private message attachments by requesting the /messages/attachment/{guid} route with sequential or guessed file GUIDs. The flaw is an insecure direct object reference (CWE-639) in the default attachment handler, which outputs a file whenever it is typed as a message attachment without verifying that the requesting user is the sender or recipient; no user interaction is required, but a valid low-privileged account and a valid attachment GUID are needed. Publicly available exploit code exists (a HackMD writeup), and a vendor-linked fix commit is referenced, though a released patched version is not independently confirmed, and there is no indication of confirmed active exploitation (CISA KEV).
RemediationAI
The primary remediation is to apply the vendor-linked upstream fix commit 2e9733d8eaafccdaef3d9b498348c8332e51f48b (https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/2e9733d8eaafccdaef3d9b498348c8332e51f48b) or to upgrade to the first OSSN release that incorporates that change; because a specific patched version number is not confirmed in the provided data, verify the fix against the vendor repository and advisory (https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2641 and https://www.vulncheck.com/advisories/open-source-social-network-ossn-through-10.1-idor-via-message-attachment-route) before relying on a version label. If patching must be deferred, implement a compensating authorization check in the 'attachment' case of components/OssnMessages/ossn_com.php so that $file->output() is only reached after confirming the logged-in user's GUID is either the message sender or the recipient tied to the attachment GUID; this preserves attachment functionality but requires custom code maintenance until the official fix is deployed. Additional interim controls include restricting or blocking the /messages/attachment/{guid} route at the web server or reverse proxy for non-trusted users, though that breaks all message-attachment viewing and can disrupt legitimate workflows, and disabling message attachments entirely, which eliminates the exposure but removes a user-facing feature. Because the route relies on sequential or guessable file GUIDs, logging and alerting on enumeration patterns against /messages/attachment/ can provide early detection, and any server-side storage review should confirm that attachment identifiers are not exposed in predictable sequences; a public exploit writeup is available at https://hackmd.io/@leediay/ossn-idor-message-attachment for validation and detection-rule development.
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
OSSN is a PHP-based open-source social networking platform, and the vulnerability resides in the OssnMessages component at components/OssnMessages/ossn_com.php (source lines around L149-L156 per the referenced GitHub link). The attachment route handler calls ossn_get_file($pages[1]) and unconditionally invokes $file->output() when the retrieved object has type 'message' and subtype 'file:attachment', without checking whether the currently logged-in user is the message sender or recipient. This is the classic CWE-639 Authorization Bypass Through User-Controlled Key pattern: the object identifier in the URL is the file GUID, and the server fails to enforce an ownership-based access-control check before serving the object. The affected code path is reachable remotely (AV:N) with low attack complexity (AC:L) and no user interaction (UI:N), but it requires authentication as a low-privileged user (PR:L) and knowledge or guessing of attachment GUIDs, which the description and independent assessment note are sequential or guessable, lowering the practical barrier. The assessed CVSS:3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (7.1 High), reflecting high confidentiality impact only, with no integrity or availability impact and no scope change; this is consistent with the vendor's CVSS:4.0 vector showing VC:H and no VI/VA or subsequent-system impact.
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:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Remote, low-complexity IDOR requiring any authenticated account (PR:L, AV:N, AC:L); only private attachments are disclosed, so C:H with I:N/A:N and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Open Source Social Network (OSSN) through 10.1 contains an insecure direct object reference vulnerability in components/OssnMessages/ossn_com.php that allows authenticated users to read other users' private message attachments. Attackers can request the /messages/attachment/{guid} route with sequential or guessed file GUIDs to retrieve attachments from private conversations without sender or recipient verification.
Technical POC Analysis
CWE-639 (Authorization Bypass Through User-Controlled Key), i.e.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Open Source Social Network (OSSN) versions through 10.1 are affected by an information disclosure vulnerability that allows unauthorized access to private message attachments. Publicly available exploit code exists, increasing the likelihood of attempted exploitation. This flaw could lead to unauthorized exposure of sensitive user communications, resulting in privacy violations, reputational damage, and potential regulatory consequences for organizations using the platform.
Apply vendor patch.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-96319
GHSA-6qx6-fpjx-pg68
NVD
CVE.org
EPSS
VulDB
Exploit-DB