Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
opensource-socialnetwork opensource-socialnetwork
Default version status: unaffected
0 to ≤ 10.1affected
pkg:github/opensource-socialnetwork/opensource-socialnetworkReferences
- https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/2641 ↗
- https://github.com/opensource-socialnetwork/opensource-socialnetwork/commit/2e9733d8eaafccdaef3d9b498348c8332e51f48b ↗
- https://hackmd.io/@leediay/ossn-idor-message-attachment ↗
- https://github.com/opensource-socialnetwork/opensource-socialnetwork/blob/48b53f5b95488187715b2d5b5ae46a993267f83d/components/OssnMessages/ossn_com.php#L149-L156 ↗
- https://github.com/opensource-socialnetwork/opensource-socialnetwork ↗
- https://www.vulncheck.com/advisories/open-source-social-network-ossn-through-10.1-idor-via-message-attachment-route ↗