Login
Sign Up


You are using the mobile version of the forum, some features have been disabled to have it responsive.
Limelight Reunion 2024 - v4b1Limelight Discord
Ares Defence Services Discord
Limelight Reunion 2024 - v4b1Limelight DiscordAres Defence Services Discord

receiptDevelopment Blog:

Development Contributor Workflow

receiptHR Blog:

What *are* they doing over there?

receiptTeacher Blog:

Insight into the Teacher Team

receiptDevelopment Blog:

Infrastructure Upgrade 11/2019

receiptDevelopment Blog:

how suggestions???

receiptDevelopment Blog:

Planning for the future.


This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Dev Blog #4 - /drop exploit, a post-mortem.
Doctor Internet radio_button_checked
Management, Developer, Administrator, Business Adviser, DPO, Security
Core Manager
Posts: 12,549
Threads: 1,763
Likes Given: 422
Likes Recieved: 3471 in 1669 posts
Joined: Aug 2015
Reputation: 35
#1
Nov 28, 2018, 01:36 PM
/drop exploit, a post-mortem.

How we were alerted.
I was bored and checking various automated systems, and comparing them against stored logs. The system had flagged up some suspect accounts, where there was a difference between the items spawned with / picked up / bought, and the items that they had in their inventory on the next spawn. Looking into this further, I saw masses of weapon drops, a single weapon being used, followed by an inventory manager transaction, a weapon /drop, and the weapons being picked back up. So myself and Nightmare hopped on staging, started testing, and I started looking through the inventory manager, item drop and weapon drop codes.

How did the exploit work?
The exploit worked by using the interaction between two unrelated systems, the inventory manager and the /drop command. When dropping weapons from the inventory, if you drop all the weapons in your inventory, you automatically de-equip the weapon you're holding too. The inventory manager doesn't do that, however. This meant you could have no weapons in your inventory, but still have one equipped in your hand. /drop didn't care about that, it would always create a weapon item anyway. So, as long as an exploiter had a friend they could get their other weapon back from, they could repeatdly do this (albiet only with single weapons, and each round could take up to 60 seconds).

However, the inventory manager was only a single method of being able to exploit this. Administrators could have used it by spawning weapons from the Q menu (though I found no evidence of this), or if players have had items removed with the item take command, this condition could also have been present.

Has it been fixed?
No, I'm telling everyone how to do it because I specifically didn't patch it. /s
Yeah, it's been pached. And the fix was Q/A'd. I'm shocked.

How was this fixed?
/drop was patched. If the player doesn't have any of the selected weapons in their inventory, /drop acts as /holster.

What have we learnt?
Well,
1. Old code doesn't always do what you expect it to do when you integrate it with new systems.
2. We should always check for edge cases, even when other systems should prevent those edge cases.
For Data Protection Queries, please email info@limelightgaming.net.
For Business, Contributor or Development queries, please PM me.
For Appeals, please post in the relevant subforum.
For Security Information, your best bet is to speak to Burnett.
(This post was last modified: Nov 28, 2018, 01:36 PM by Doctor Internet.)
The following 13 users Like Doctor Internet's post:
  • Armard, Da Cool Cow, Dick, HeavyWolfPL, jess, Markus, Noble, Nudel, Pollux, Project, SickBennyAlex, VIVZZ, Zona
Armard radio_button_checked
Member
Membership
Posts: 684
Threads: 97
Likes Given: 152
Likes Recieved: 209 in 148 posts
Joined: Aug 2016
Reputation: 5
#2
Nov 28, 2018, 07:42 PM
Will those who used the glitch to dupe weapons be punished?
Kvatch radio_button_checked
Member
Membership
Posts: 782
Threads: 87
Likes Given: 791
Likes Recieved: 517 in 267 posts
Joined: Aug 2015
Reputation: 8
#3
Nov 28, 2018, 07:44 PM
What have we learnt?
Even though there's tonnes of suggestions being made every week, Doctor Internet still has chance to be bored.

Forum Rep  |  Steam Profile
The following 4 users Like Kvatch's post:
  • Admiral., Armard, Insert, Quantum
StephanGH radio_button_checked
Member
Membership
Posts: 355
Threads: 19
Likes Given: 138
Likes Recieved: 191 in 124 posts
Joined: Aug 2016
Reputation: 3
#4
Nov 28, 2018, 07:55 PM
(Nov 28, 2018, 07:42 PM)Armard Wrote: Will those who used the glitch to dupe weapons be punished?

^
With kind regards

Amazing Sheriff, Top Notch Dispatcher, Horrible drug-runner, Mediocre Detective and Horrible Financial Advisor
StephanGH

It was only 2.5 million $ of weed... In the Ocean, it's fine!
Dick radio_button_checked
Supervising Administrator
Supervising Administrator (ADS)
Posts: 4,631
Threads: 461
Likes Given: 1822
Likes Recieved: 1907 in 1237 posts
Joined: Aug 2015
Reputation: 25
#5
Nov 28, 2018, 10:21 PM
(Nov 28, 2018, 07:55 PM)StephanGH Wrote:
(Nov 28, 2018, 07:42 PM)Armard Wrote: Will those who used the glitch to dupe weapons be punished?

^

That'd be a yes-siry. Any exploit being used is against the TOS.
[Image: EnzxzUF.png]
Quest radio_button_checked
Member
Membership
Posts: 1,606
Threads: 80
Likes Given: 2348
Likes Recieved: 726 in 477 posts
Joined: Mar 2016
Reputation: 9
#6
Nov 28, 2018, 10:26 PM
(Nov 28, 2018, 10:21 PM)Dicky Wrote:
(Nov 28, 2018, 07:55 PM)StephanGH Wrote:
(Nov 28, 2018, 07:42 PM)Armard Wrote: Will those who used the glitch to dupe weapons be punished?

^

That'd be a yes-siry. Any exploit being used is against the TOS.

...So has anyone?
How can you proved they used it?
[Image: ObFHLGq.png]
Jen Away
Stell
Core Staff
Posts: 1,310
Threads: 89
Likes Given: 956
Likes Recieved: 646 in 368 posts
Joined: Apr 2016
Reputation: 11
User is currently away.
#7
Nov 28, 2018, 10:34 PM
(Nov 28, 2018, 10:26 PM)Quest Wrote:
(Nov 28, 2018, 10:21 PM)Dicky Wrote:
(Nov 28, 2018, 07:55 PM)StephanGH Wrote: ^

That'd be a yes-siry. Any exploit being used is against the TOS.

...So has anyone?
How can you proved they used it?

Logs, by seeing people dropping weapons, transferring the weapon to their friend and then transferring them back.
StephanGH radio_button_checked
Member
Membership
Posts: 355
Threads: 19
Likes Given: 138
Likes Recieved: 191 in 124 posts
Joined: Aug 2016
Reputation: 3
#8
Nov 28, 2018, 11:38 PM
Sooo... Ban wave inc?
With kind regards

Amazing Sheriff, Top Notch Dispatcher, Horrible drug-runner, Mediocre Detective and Horrible Financial Advisor
StephanGH

It was only 2.5 million $ of weed... In the Ocean, it's fine!
Doctor Internet radio_button_checked
Management, Developer, Administrator, Business Adviser, DPO, Security
Core Manager
Posts: 12,549
Threads: 1,763
Likes Given: 422
Likes Recieved: 3471 in 1669 posts
Joined: Aug 2015
Reputation: 35
#9
Nov 29, 2018, 12:42 AM
(Nov 28, 2018, 11:38 PM)StephanGH Wrote: Sooo... Ban wave inc?

That's up to the SA team for specifics. Though just with a cursory glance, there were a couple of people using it. If you have used it, it may be a good time to drop them a PM confessing to it, rather than making them trawl through logs to find exact details.
For Data Protection Queries, please email info@limelightgaming.net.
For Business, Contributor or Development queries, please PM me.
For Appeals, please post in the relevant subforum.
For Security Information, your best bet is to speak to Burnett.
The following 1 user Likes Doctor Internet's post:
  • Night
Lewwings radio_button_checked
User
Registered User
Posts: 261
Threads: 1
Likes Given: 717
Likes Recieved: 241 in 152 posts
Joined: Sep 2017
Reputation: 3
#10
Nov 29, 2018, 12:52 AM
This is why Doctor Internet is Doctor.

He has a fucking post-mortem for game bugs.

kewl!!
Thank you
Lewwings
Hungames radio_button_checked
Member
Membership
Posts: 748
Threads: 69
Likes Given: 493
Likes Recieved: 953 in 427 posts
Joined: Aug 2015
Reputation: 4
#11
Nov 29, 2018, 02:19 AM
If only code was tested before hand @Doctor Internet
[Image: dZVD5wF.png]
rockin the new sig gimme rep
Doctor Internet radio_button_checked
Management, Developer, Administrator, Business Adviser, DPO, Security
Core Manager
Posts: 12,549
Threads: 1,763
Likes Given: 422
Likes Recieved: 3471 in 1669 posts
Joined: Aug 2015
Reputation: 35
#12
Nov 29, 2018, 02:23 AM
(Nov 29, 2018, 02:19 AM)Hungames Wrote: If only code was tested before hand "Doctor Internet"

Aye, gosh-darn. If only those people back in 2008 had realised their code would come in and interfere with this totally different system 10 years later. You got me good there Hungames.
For Data Protection Queries, please email info@limelightgaming.net.
For Business, Contributor or Development queries, please PM me.
For Appeals, please post in the relevant subforum.
For Security Information, your best bet is to speak to Burnett.
The following 1 user Likes Doctor Internet's post:
  • bimkx
pufitee radio_button_checked
escaped pigeon
Membership
Posts: 1,080
Threads: 109
Likes Given: 555
Likes Recieved: 795 in 419 posts
Joined: Dec 2017
Reputation: 23
#13
Nov 29, 2018, 02:01 PM
i would like to confess yes
[Image: bNevqTZ.png]

[Image: fpJ7oKl.png]
StephanGH radio_button_checked
Member
Membership
Posts: 355
Threads: 19
Likes Given: 138
Likes Recieved: 191 in 124 posts
Joined: Aug 2016
Reputation: 3
#14
Nov 29, 2018, 06:12 PM
(Nov 29, 2018, 02:19 AM)Hungames Wrote: If only code was tested before hand @Doctor Internet

If only people didn't try to exploit and abuse every little bug they find instead of just reporting it to a Staff Member/Dev
With kind regards

Amazing Sheriff, Top Notch Dispatcher, Horrible drug-runner, Mediocre Detective and Horrible Financial Advisor
StephanGH

It was only 2.5 million $ of weed... In the Ocean, it's fine!
The following 1 user Likes StephanGH's post:
  • Lewwings
Cole radio_button_checked
eX tEaChEr
Veteran Member
Posts: 1,228
Threads: 67
Likes Given: 261
Likes Recieved: 670 in 389 posts
Joined: May 2016
Reputation: 21
#15
Nov 29, 2018, 06:36 PM
It baffles me how people manage to find such weird exploits in the CityRP systems. Good thing it's patched now I guess.
<p><br></p>
The following 3 users Like Cole's post:
  • Lewwings, Nudel, StephanGH




Users browsing this thread: 1 Guest(s)