The logout issue is more of a PITA than a security problem. Where the problem lies is if you're logged in as an admin.
Parts of the admin section need to be rewritten due to this exploit. What concerns me is a malicious user can uninstall modules, disable or delete modules, remove menu links and a few other things that have no POST or confirmation to them in the admin section.
POC has been tested on my site by removing menu links and disabling modules.
As a quick fix, add a security check before allowing modifications requested by GET (fix by Biggles!).
| Quote:: |
| if ($module_name != $CPG_SESS['admin']['page']) { cpg_error(_ERROR_BAD_LINK, _SEC_ERROR); } |