Per this thread:
http://www.solucija.com/forum/viewtopic.php?id=4221i believe i read somewhere that 1.4 was vulnerable to XSS cross site attacks due to the search field not being sanitized
I have some clients who are on the 1.4 version of sNews (text-db version). Now seeing that 1.4 has a security flaw with Xss, could I update the XSS function with 1.6? I have done so on a test install and changed any strings that had a clean in it, to mimic 1.6's clean strings, like so, found in 1.4's startup:
if (md5(clean(cleanXSS($_POST['Username']))) == s('username')
Would this be the correct way to go with this? So far everything runs normally with the clean XSS' in place
Also for the main function calls, should I do the same?
for rinstance:
function cleanSEF($string) {
If I change it to:
function cleanSEF(cleanXSS($string)) {
I get errors
Now, since I have it implemented on a test version, how can I test this out to make sure it is working correctly?
And ultimatly what does this function do?
EDIT so far did a search testng XSS and it seems to be working good, I guess. Nothing is passing through. but I will wait to hear from ou guys about this before I do anything