Skip to content

Commit

Permalink
[8848] Fixed bidding on auctions below starting bid
Browse files Browse the repository at this point in the history
This was possible by using cheating tools only; the client denies such
actions without sending CMSG_AUCTION_PLACE_BID.
Thanks to leak for reporting this vulnerability.
  • Loading branch information
arrai committed Nov 20, 2009
1 parent f4a3b1f commit 8810098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/AuctionHouseHandler.cpp
Expand Up @@ -323,7 +323,7 @@ void WorldSession::HandleAuctionPlaceBid( WorldPacket & recv_data )
}

// cheating
if(price <= auction->bid)
if(price <= auction->bid || price < auction->startbid)
return;

// price too low for next bid if not buyout
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8847"
#define REVISION_NR "8848"
#endif // __REVISION_NR_H__

0 comments on commit 8810098

Please sign in to comment.