How to recognize persistent XSS and non-persistent XSS ???

apocalypse0
9 years ago

0

Hello everyone.
I want to know:
1 - How to recognize or how to know if a site is vulnerable to XSS persistent (permanent or Stored XSS) ???

2 - How to recognize or how to know if a site is vulnerable to non-persistent XSS (non-permanent XSS or reflected) ???

As I want to check if the XSS vulnerability my site is persistent or non-persistent ? So how to recognize one of the two vulnerabilities XSS (persistent or non-persistent) ???

Thank you.

14replies
4voices
291views
1image
tl0tr
9 years ago

0

Unless and untill you put in some code and try to check you won’t be able to know if its vulnerable or not. I am no expert on this but I think thats how you will have to find out.

apocalypse0
9 years ago

0

But what I want to know is whether we can use these two types of attacks (stored and reflected) at any site vulnerable to XSS?
Or there is a way to check if it is stored XSS attack or if it is reflected XSS attack that matches the vulnerable site concerned ???

Mugi [Mugiwara27]
9 years ago

0

No, reflected and stored are two different types of XSS vulnerability

apocalypse0
9 years ago

0

ok thank you for the reply but I really need a clear explanation:

1 - When to use Stored XSS to attack a vulnerable site XSS ???
2 - When to use XSS reflected to attack a vulnerable site XSS ???

Mugi [Mugiwara27]
9 years ago

0

You know the type of XSS vulnerability when you attack it
For example if this forum is vulnerable to stored xss, you can do what you want just by injecting some code
But with xss reflected you can’t do that, you can ( example ) do some social engineering to someone and let him click on your script to steal his cookie ( for example, you can do a lot of other things )

apocalypse0
9 years ago

0

Yes I know but I want to know how to tell if a site is vulnerable to XSS Stored ???

How to know if the site concerned XSS vulnerability Stored ???

Mugi [Mugiwara27]
9 years ago

0

Do some test, attack the site and you’ll see if it’s a stored or not

tl0tr
9 years ago

0

And that is exactly what I said before you need to insert some code and check which one works and then you will know which of the XSS method you can use.

apocalypse0
9 years ago

0

Ok but I would ask the site vulnerable to XSS in question has no contact form or comment form, how is it possible to inject code to see if it is vulnerable to XSS Stored for example ???

I note that this website has only forms Registered since and also has the identification form (form username and password). So is it possible to inject JavaScript code in the identification forms or in the forms Registered also if the site has no contact form or comment form ???

Thank you to answer me please.

Mugi [Mugiwara27]
9 years ago

0

So, I have understood in your message that you want to hack a website using a XSS but you don’t know what is a XSS, how it works, which code to inject in which cases.
Search on google how to do, you’ll find it !

apocalypse0
9 years ago | edited 9 years ago

0

Ok . First, thank you for answering me, but I want to stress that I do not want to hack an online site; I have myself a site localhost with which I exercise in learning how XSS attacks.

Image

Now, I admit that searches made on Google are not explicit enough that I understand very well the operation of XSS is why I register on this forum to learn better.

I note that this website (site localhost) has only forms Registered since and also has the identification form (form username and password). So is it possible to inject JavaScript code in the identification forms or in the forms Registered also if the site has no contact form or no comment form ???

Or is it really possible to inject JavaScript code on the site concerned XSS simply through the web browser as shown in the video below ???

Is it really possible to inject JavaScript code on the site concerned XSS simply through the web browser as shown in the video below ???

Can we attack a vulnerable site XSS stored via the browser ???

Mugi [Mugiwara27]
9 years ago

0

The thing is not if you can do that using the browser because you have to use the browser to inject some codes
And if there is just html on your website, you can’t do some attacks
Btw, owasp may help you

apocalypse0
9 years ago

0

ok great thank you.

You must be logged in to reply to this discussion. Login
1 of 15

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss