Get admin level on Goldlink script v3.0

Credit: Weke
Risk: Medium
Local: No
Remote: Yes

CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

There is a bug in script of links Goldlink v3.0 ( You can access to panel with admin privileges. The bug is in variables.php file: function Acceso() { global $extension; global $tb_admin; global $HTTP_COOKIE_VARS; $vadmin_login=$HTTP_COOKIE_VARS["vadmin_login"]; $vadmin_pass=$HTTP_COOKIE_VARS["vadmin_pass"]; $link=Conectarse(); if (!(isset($vadmin_login) && isset($vadmin_pass))) { if (mysql_query("select * from $tb_admin where Login='$vadmin_login' && Password='$vadmin_pass'",$link)) { mysql_close($link); header("Location: index.$extension"); exit(); } } } The bug is in $vadmin_login and $vadmin_pass proccesing. One idea is set: vadmin_login = ' OR Login LIKE '% and vadmin_pass = ' OR Password LIKE '% If you create two cookies with thoses values and go to: you will go to goldlink panel with level admin, and you will be able to modify links, users passwords, admin password, etc. For fix it add the two lines before 'if (!(isset($vadmin_login) && isset($vadmin_pass))) {' in variables.php file : $vadmin_login = addslashes($vadmin_login); $vadmin_pass = addslashes($vadmin_pass); Weke

Vote for this issue:


Thanks for you vote!


Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.

(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2022,


Back to Top