Friday, October 10, 2014

Reflected XSS Example

Lab : - Google gruyere
In Reflected XSS Attack , an attacker forces the web-application to return an errorsearch result, or any other response that includes some or all of the input provided by the user as part of the request, without that data being made safe to render in the browser, and without permanently storing the user provided data.

So here lets try to force the webapplication here to through an error , which can be easily done by giving some invalid URL

URL:-http://google-gruyere.appspot.com/421953921451/invalid

This will return an error as the term invalid in the URL is not part of URL

So what an attacker does here is he adds script in the same URL.

Sample URL :-
http://google-gruyere.appspot.com/
421953921451/invalid/<script>alert("TEST");</script>

This gives the following output:-





What's the "KICK" here ???We can use this
vulnerability to  find a user's session id
like below


URL: http://google-gruyere.appspot.com/421953921451/invalid/<script>alert(document.cookie);</script>

In the second image we can see that user's cookie which is stored in system is displayed here.








Now may be not all of us must be aware of what exactly a cookie is ?? and how can it be exploited.

Cookie:-

Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve information from that machine. Generally cookie contains personalized user data or information that is used to communicate between different web pages.



How stored cookie can be security threat?


Some times personal information is stored in cookie , so if a user can have access to stored cookies then he use it for his personal benefit .







11 comments:

  1. It is easy to fall prey to incompetent hackers, but after reading this, i hope you do not ever have to be a victim of hackers who are not able to complete the job given to them. I was once a victim but not anymore and this is because i have found the best hacker ever and i wish to let you know that Cryptocyberhacker@gmail.com is the best you can ever think of and he always deliver and he his reliable.

    ReplyDelete
    Replies
    1. I'm recommending  this credible ethical hacker  {QUADHACKED@GMAIL.COM} to younger couples who are sensitive and seeking to be sure that their spouse is actually being real with their intentions . I used to condone an abusive marriage for so long before i got a divorce. The trauma made me stay away from relationship for a long while.
      I always had this urge to be sure of the next person i was getting into a relationship with and giving my commitment to. then a friend i met during counselling recommended this amazing hacker {QUADHACKED@GMAIL.COM} to me , he helped me spy on my fiancee at the time, i was  able to see him for who he really was and his intention was made known to me,i cloned his phone and could access all his sms, call logs and whatsapp messages  , he was a pedophile and i was able to find out due to the enormous amount of information revealed when QUADHACKED helped me hack his phone. i was glad i did this because i had two daughters.
      for relative hack jobs,Phone hacking, hacking of whatsapp, facebook messenger, email hacks, phone spy, phone wire tap, phone clone reach out to him i promise you'll be glad . 

      Delete

  2. I've had full access for about a month now, and it truly makes me feel better knowing what my wife is up to on Facebook. She’s unaware I have access to her phone and social media activities. The GPS tracker shows me if she is where she is supposed to be and is one my favorite features. TECH Support helped me set everything up and walked me through every step. I read reviews on so many different apps and programs. This one delivered everything that was promised. I strongly recommend ‘internetwebport737 at gmail dot com’ or via Phone:+17853259842

    ReplyDelete




  3. CONTACT US FOR ALL KINDS OF HACKING JOB @ chauphampham42@gmail.com We offer professional hacking services , we offer the following services;
    -University grades changing
    -Bank accounts hack
    -Erase criminal records hack
    -Facebook hack
    -Twitters hack
    -email accounts hack
    -Grade Changes hack
    -Website crashed hack
    -server crashed hack
    -Skype hack
    -Databases hack
    -Word Press Blogs hack
    -Individual computers hack
    Control devices remotely hack
    -Burner Numbers hack
    -Verified Paypal Accounts hack
    -Any social media account hack
    -Android & iPhone Hack
    -Text message interception hack
    -email interception hack
    -Untraceable Ip etc.
    Contact us at chauphampham42@gmail.com or text or call (601) 357-3187 for more inquiry..
    Track Calls log and Spy Call Recording.
    Monitoring SMS text messages remotely.
    Cell phone GPS location tracking. Spy on Whatsapp Messages.
    Free Update and 100% Undetectable.
    Track BBM messages and Line messages. Track Internet Browsing History and Read phone Access Address Book, totally worth your money, please no time wasters, he won't under any circumstances work for free, you can reach him by email chauphampham42@gmail.com or add on Hangout or call on (601) 357-3187 and text

    ReplyDelete
  4. They are all scammers, they will make you pay after which they will give you an excuse asking you to pay more money, they have ripped me of $2000, i promised i was going to expose them.
    I figured it all out when my colleague took me to Pavel

    (HACKINTECHNOLOGY@GMAIL.COM)
    CELL PHONE +16692252253

    He did perfect job, he hacks all accounts ranging from (Emails, Facebook, whatsapp, imo, skype, instagram, Phone cloning, DMV removal, tracking locations, background checks Kik etc. he also hacks cell phones, cell phone tapping and cloning, clears bad driving and criminal records, bank transfers, locates missing individuals e.t.c. You should contact him and please stop using contacts you see on websites to execute jobs for you, you can ask around to find a real hacker.

    ReplyDelete
  5. Hello friends, I’m from London and I’m using this medium to testify to the genuine work of an Hack Pro and PIA.When it comes to hacking although, I never believed it could be possible for me to access someone device without touching it but after contacting the hack pro (Larrywizardhacking57@gmail.com), now I know better.They hack all social media platforms, smartphones, bank Accounts, help recover stolen crypto and even more.
    Quite amazing.You can also contact him via WhatsApp
    Text:+1(2135297780).

    ReplyDelete
  6. Hello, my name is Evans Dominique from the United States am here to give a testimonial on how I met one of the best Hacker so far on my incredible moment of pain I lost a huge amount of money to a fake investor, I invested 105,000 USD to this investment company with my belief that I will have a huge return when it was time for me to get my return they company no longer pick my calls or reply to my email I was so devasted that my sister saw my pain and sad sorrow she have no choice than to introduce me to this great hacker called Wizard Brixton. I tell him everything about my situation and he asked for the company email address and the mobile number he promises to help me retrieval my funds if I will be able to cooperate and give him the vital information needed less than 24 hours he was able to give me the necessary details about the company and how he will get my funds back without the company approval. Contact him: Wizardbrixton@gmail.com WhatsApp with (+1- /807-23 ) 4-0428 ;) I was very happy when he recovered all my funds and gave me 2% of the profit the company could have given to me. so I promise to make him go viral for everyone to contact him in different aspects of hacking software program in your life he proves the best in his job CONTACT HIM: Wizardbrixton@gmail.com

    ReplyDelete
  7. Primeros auxilios, analgésicos, Viagra, esteroides y medicamentos exóticos - Telegram: @MedicationHuB12



    Se encuentran disponibles primeros auxilios de alta calidad, analgésicos, Viagra, esteroides y medicamentos exóticos. El envío y la entrega son 100% seguros en muchos otros países. Estamos disponibles en cualquier momento y en cualquier lugar!
    -Nuestra entrega es muy discreta, fiable y siempre ha tenido éxito.


    Telegrama: https://t.me/pillshubpharmacy
    Telegrama: @MedicationHuB12
    Correo electrónico: medicalhub12@gmail.com
    WhatsApp: +13133062828



    Aceptamos este método de pago. Western Union, MoneyGram, Cashapp, Zelle, Google y Bitcoin


    VERIFICAR

    ¡Haz tu pedido a la orden!
    Cantidad o tipo de producto..........
    Nombre........
    La dirección ..........


    Menú de productos disponibles 🔞✅

    Destilado THC 500 mg

    SUBUTEX 8s

    Tramadol 100mg/225mg

    Zolpidem 10 mg


    Destilado crudo de THC (jeringas)

    MSJS azul/amarillo

    diazepam indio

    Diazepam 10mg

    Actavis 10 mg diazepam

    Cocaína

    Cristal de ketamina

    MDMA

    Embotelladora LSD 250UG

    Castigador XTC 300 mg

    DHC 30 mg 100 tabletas por caja

    Signature Pregabs 150 por caja 300mg

    Bensedina 10 mg

    OxyContin/Oxicodona
    Comprimidos de 40 mg / comprimidos de 80 mg

    hachís suave

    Xanax 2 mg 5 mg 3 mg

    OXICODONA 80mg/30mg

    ADERALL 30mg

    Hierba

    ALCOHOL DESNATURALIZADO

    Heroína

    esteroides 💪

    Viagra🍆🍑

    ¿Qué estás esperando? ¡Golpea 🎯 tu tenedor!😜

    Telegrama: https://t.me/pillshubpharmacy
    Telegrama: @MedicationHuB12
    Correo electrónico: medicalhub12@gmail.com
    WhatsApp: +13133062828

    Todos nuestros productos son fabricados en un ambiente seguro, limpio y esterilizado por un equipo de entusiastas profesionales.

    ReplyDelete
  8. TOOLS&FULLZ SHOP
    _______________

    hi EveryonE!

    Are you been stuck for looking valid products or been scammed by scammers

    Here the Valid store available for all kind of tools,tutorials & Fullz with quality

    Learn hacking and spamming and do it on your own way & enjoy..........

    _______________

    1)FRESHLY SPAMMED USA FULLZ
    2)HACKING & SPAMMING TOOLS
    3)TUTORIALS
    _______________

    *Contact*
    *ICQ :748957107
    *Telegram : @James307
    *Skype : Jamesvince$
    _______________
    USA SSN FULLZ WITH ALL PERSONAL DATA+DL NUMBER
    -FULLZ FOR PUA & SBA
    -FULLZ FOR TAX REFUND
    *fullz/lead with DL num
    *SSN+DOB
    *Premium info
    *EIN PIN LEADS
    (TAX RETURN)
    *ELECTRONIC FILING LEADS

    *ID's Photos For any state (back & front)
    *Passport Photos
    ________________
    +US cc Fullz
    +(Dead Fullz)
    +(Email leads with Password)
    +(Dumps track 1 & 2 with pin and without pin)
    +HACKING & CARDING TUTORIALS
    +SMTP LINUX
    +SAFE SOCK
    +CPANEL
    +RDPs
    +Spamming Tutorial
    +SERVER I.Ps
    +EMAIL COMBO
    +DUMPS TUTORIAL
    +BTC FLASHER
    +KEYLOGGER COMP&MOB
    +EMAIL BOMBER
    +SQLI INJECTOR
    +ETHICAL HACKING TUTORIAL
    +GMAIL HACKING TUTORIAL
    +PENETRATION TESTING TUTORIAL
    +PayPal Cracker
    +BTC Cracker
    +BLUE PRINTS BLOCKCHAIN
    +EMAIL BLASTER
    +SMS SENDER
    +NORD VPN
    +ONION LINKS AND TOR BROWSER (LATEST VERSION)
    +DARK HORSE TROJAN
    +NETFLIX CHECKER
    +IP ROUTING
    +KEYSTROKE LOGGER
    +WESTERN UNION LOGINs
    +ALI BABA IPs
    +KEYLOGGER
    +SHELL SCRIPTING
    _______________
    *Let's do a long term business with good profit
    *Contact for more details & deal

    *Contact*
    *ICQ :748957107
    *Telegram :@James307
    *Skype : Jamesvince$

    ReplyDelete
  9. I just have to introduce this hacker that I have been working with him on getting my credit score been boosted across the Equifax, TransUnion and Experian report. He made a lot of good changes on my credit report by erasing all the past eviction, bad collections and DUI off my credit report history and also increased my FICO score above 876 across my three credit bureaus report you can contact him for all kind of hacks . Email him here support@wavedrive.tech go on their website wavedrive.tech for more details,Whatsapp No:+14106350697 if you want to chat them up,One thing i can assure you would not regret this at all he is 100% legit

    ReplyDelete
  10. We have two types of hackers out there, those that will scam you and the legit hackers who do the real job, i read good reviews about them after a friend mentioned this to me I trusted this company because they made it happen, they raised my CREDIT SCORE score to 799 excellent score, due to my present medical condition that cost me weekly, I got setback on payments owing to medical bills, with couple of inquiries and CHEX system, very happy I found this hacker who proved to those BS out there who just scam people and go on exile after they got paid for job they won’t be able to accomplish, I met Schwartz Software Hackers through a friend who referred them to me. He showed me proof of his credit fixed and good recommendations written about this Guru. They raised my credit score within maximum of 5days and restored my financial stability. I was able to get a loan and pay for a home. You can contact them via: schwartzsoftwarehackingprogram@gmail.com / +1 704-313-9661

    ReplyDelete