Forums / Zen Cart Release Announcements / Patch for Admin Privilege Escalation issue in v150-v155 (fixed in v155a)

Patch for Admin Privilege Escalation issue in v150-v155 (fixed in v155a)

Locked

Views: 18,776

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
12 May 2016, 6:02 PM
#1
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Patch for Admin Privilege Escalation issue in v150-v155 (fixed in v155a)

It has come to our attention that there existed a potential admin privilege escalation issue whereby logged-in admin users of v1.5.0-to-v1.5.5 (before v1.5.5a) could change their own user profile permissions if they engaged in some hackery.

This only posed a risk when multiple admin users exist AND some have been assigned a profile restricting their privileges to disallow access to certain admin sections ... AND they have some malicious desire to gain access to changing settings or viewing data against which they've been restricted.

The fix is simple: copy the v155a version of /admin/admin_account.php to replace your existing /(your-renamed-admin)/admin_account.php file.

File is attached below for convenience.

To be clear: This issue is already fixed in Zen Cart v1.5.5a.

Credits to Sachin Wagh of secur1tyadvisory.wordpress.com for responsible disclosure and working with us to understand the issue.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.