ISSUES WITH CUSTOM VULNERABILITY

L0 Member

ISSUES WITH CUSTOM VULNERABILITY

Hi All,

We are making the creation of a "Custom Signature" to detect an XSS vulnerability identified in the player JWPLAYER

The vulnerability occurs in / media / players / jwplayer / player.swf and HDSMediaProvider.swf.
Model: PA-4050
Software Version: 4.0.11


For this we register accesses can be made to the player JWPLAYER with parameters in the URL.
Examples:
http://www.xxxx.xx/media/players/jwplayer/player.swf?abouttext=xxxxxx&aboutlink=http://www.xxxx.xxx

http://www.xxxxx.xx/media/players/jwplayer/player.swf?file=http://xxxxx.xxx&image=http://xxxx.xxxx

http://www.xxxxx.xx/media/players/jwplayer/player.swf?file=http://xxxxxx.xxx&logo.file=http://xxxxx....xxxxxxx



To create it first was used in an attempt to record all requests containing .swf? and indicating the call with parameters:
OPERATOR: Pattern Match
CONTEXT: REQ-HTTP-HEADERS
PATTERN: .*jwplayer /. *swf \? (.*) Also with  ".*jwplayer /. *swf \?"
This rule did not detect the parameters

Then we used 2 conditions with the following configuration:
And Condition 1:
  OPERATOR: PATTERN-MATCH
  CONTEXT: HTTP-REQ-URI-PATH
  PATTERN: .*jwplayer /.*swf
And Condition 2
  OPERATOR: PATTERN-MATCH
  CONTEXT: HTTP-REQ-PARAMS
  PATTERN: .*((file)|(abouttext)|(image)) While it should detect any url parameter, these are the ones who were using for testing.

But it happened that not all parameters are detected. Therefore, the pattern will change to ((.+)|(abouttext)), since the minimum length is 7, but still does not detect any parameter.

The purpose of the rule is to detect any url with parameters

Sorry for the google translation

Tags (1)
L3 Networker

Re: ISSUES WITH CUSTOM VULNERABILITY

Hello,

I would suggest you look for /jwplayer/player.swf in the http-req-uri and a length of greater than 0 for the http-req-param-length.

L0 Member

Re: ISSUES WITH CUSTOM VULNERABILITY

It's just what we need.
Thanks for the reply

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!