VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: zaza1964 on December 03, 2012, 19:03:51 PM

Title: Suspicious JS inclusion
Post by: zaza1964 on December 03, 2012, 19:03:51 PM
Scanning my site with RSFirewall, I got the following message:

Scanning your files for common malware
We've found a total of 1 malware scripts inside your files. Please review
them manually as the scan might have detected false alerts.

plugins/vmpayment/klarna/klarna/tmpl/payment_form.php

Suspicious JS inclusion

cdn.klarna.com/public/kitt/toc/v1.0/js/klarna.terms.min.js"
type="text/javascript

In the include, there's apparently Cross Site Scripting (XSS) to:
http://cdn.klarna.com/public/kitt/toc/v1.0/js/klarna.terms.min.js

Anyone could tell me what this is?

Thanks!

Joomla 2.5.8 & VirtueMart 2.0.14
Title: Re: Suspicious JS inclusion
Post by: jenkinhill on December 03, 2012, 23:28:07 PM
Automated scans are all too often unreliable. You need to provide the precise report and identify the lines of code trigerring this alert.

This is the only report I have seen of this.
Title: Re: Suspicious JS inclusion
Post by: zaza1964 on December 04, 2012, 22:14:29 PM
Off on holidays for 10 days, will do when I get back.
Title: Re: Suspicious JS inclusion
Post by: Milbo on December 17, 2012, 19:22:22 PM
Quote from: zaza1964 on December 03, 2012, 19:03:51 PM
Please review
them manually as the scan might have detected false alerts.
As they say themself it might be a false alert.

Quote from: zaza1964 on December 03, 2012, 19:03:51 PM
plugins/vmpayment/klarna/klarna/tmpl/payment_form.php

Suspicious JS inclusion

cdn.klarna.com/public/kitt/toc/v1.0/js/klarna.terms.min.js"
type="text/javascript

In the include, there's apparently Cross Site Scripting (XSS) to:
http://cdn.klarna.com/public/kitt/toc/v1.0/js/klarna.terms.min.js

As far as I understand this is just a dynamic include of the klarna tos. It is directly loaded from their server. Suspicious usually, yes. Other "suspicious" things we do are just whitelisted like loading jquery from google. So as far I can see, everything is fine.
Title: Re: Suspicious JS inclusion
Post by: Dan1980 on December 19, 2012, 16:11:47 PM
I received this also with a scan tonight.

I have a fresh install of a site (in Beta, no-index/no-follow, not advertised anywhere, receives no traffic ... only my team and the odd script-kid from China scanning IP ranges randomly).

QuoteScanning your files for common malware
We've found a total of 2 malware scripts inside your files. Please review them manually as the scan might have detected false alerts.

administrator/components/com_virtuemart_allinone/plugins/vmcalculation/avalara/classes/AvaCertSvc.class.php
Possible PHP injection (mailer)
mail("info@

plugins/vmpayment/klarna/klarna/tmpl/payment_form.php
Suspicious JS inclusion
cdn.klarna.com/public/kitt/toc/v1.0/js/klarna.terms.min.js" type="text/javascript

I would imagine that this must be a false alert. And decided to add this here in case it helps anyone - or if you can shed further light on this since responding to zaza1964.

Many Thanks!

Joomla!   2.5.8 Stable [ Ember ]
Virtuemart   2.0.14
RSFirewall!   46

plus (just in case)
WHM   11.34.0 (build 11)
MySQL version    5.1.65-cll
PHP version    5.3.18
Title: Re: Suspicious JS inclusion
Post by: Dan1980 on January 16, 2013, 15:01:42 PM
Can anyone else confirm that this is a false alarm?

No one?
Title: Re: Suspicious JS inclusion
Post by: mzone85 on March 17, 2013, 01:40:25 AM
I have the same problem with RSfirewall

plugins/vmcalculation/avalara/classes/AvaCertSvc.class.php   Possible PHP injection (mailer)   mail("info@
plugins/vmpayment/klarna/klarna/tmpl/payment_form.php   Suspicious JS inclusion   cdn.klarna.com/public/kitt/toc/v1.0/js/klarna.terms.min.js" type="text/javascript

Should i ignore this?

joomla 2.5.9
virtuemart 2.0.20a