Mojira Archive
BDS-1336

Achievements can be unlocked through console

Description
This is a pretty big exploit I came across yesterday while trying out the server. When a player is made op they can't change their game mode or use the give command if cheats are off. That is normal expected behavior. Now through the console, the game mode of a player can be changed and it won't affect the "cheat" status. The player can then proceed to get materials for the achievements.

Steps to replicate:

  1. Change player game mode to creative
  2. Get material (wheat for example)
  3. Complete the task to get the achievement (craft some bread with the wheat).

Possible Fix for Exploit:
I saw that there is a command to toggle cheats on the server. I think a possible fix would be to prompt the person running the server to enable cheats when they try to do commands like gamemode or give (any command that is considered cheating). Could be a yes or no prompt similar to how its shown when adding cheats to a world. That way cheat commands can only run if there they accept.

Linked Issues

Comments5

MEQS_KEEP_PRIVATE

Is this still an issue for you in the latest release?

This is still the case. I just downloaded the latest version of the software and ran it. Once I joined, I gave myself creative mode via the console without enabling cheats.  I got obsidian, diamond, and book from creative menu. Then I change my game mode back to survival via the console. Afterwards in came I craft an enchanting table and got the enchanter achievement. 

I was able to unlock the "Careful restoration" achievement while still being in Creative mode.

Thank you for updating my description. I noticed that behavior the last time I checked if the exploit was still around. It's doesn't seem to matter what gamemode as long as the task is completed.

History31

IonicEcko

Added is duplicated by link:
BDS-5861Command exploitDuplicate

[Bot] Arisa

Added affects versions: 1.14.60

IonicEcko

Added Confirmation Status: Confirmed

Changed environment:

Running it on windows 10

0

 

0

I don't know how to find the server version. I downloaded the software from the website yesterday so its the one that supports the latest version of bedrock.

0

 

0

 

Removed affects versions:

IonicEcko

Removed environment:

 

IonicEcko
[Bot] Arisa

Added affects versions: 1.16.1

IonicEcko
IonicEcko
[Bot] Arisa

Added affects versions: 1.16.40

IonicEcko

Added is duplicated by link:
BDS-10222cheating achievements Duplicate

[Mod] OcelotOnesie
[Mod] OcelotOnesie

Added affects versions: 1.17.10

[Mod] OcelotOnesie
[Bot] Arisa

Added affects versions: 1.20.0

[Mod] OcelotOnesie
[Mod] Greymagic27
[Mod] Greymagic27

Deleted comment:

Is this still an issue for you in the latest release?

[Mod] Greymagic27
[Bot] Arisa
[Mod] Greymagic27

Added affects versions: 1.20.51

[Mod] Jarl-Penguin

Added affects versions: 1.21.1

[Mod] Jarl-Penguin

Changed description:

Description 

0

This is a pretty big exploit I came across yesterday while trying out the server. When a player is made op they can't change their game mode or use the give command if cheats are off. That is normal expected behavior. Now through the console, the game mode of a player can be changed and it won't affect the "cheat" status. The player can then proceed to get materials for the achievements. If the player can only get the achievement while completing the task in survival.  

0

 

0

Steps to replicate:

0
    0
  1. Change player game mode to creative
  2. 0
  3. Get material (wheat for example)
  4. 0
  5. Change the player gamemode back to survival
  6. 0
  7. Complete the task to get the achievement (craft some bread with the wheat).
  8. 0
0

Possible Fix for Exploit:

0

I saw that there is a command to toggle cheats on the server. I think a possible fix would be to prompt the person running the server to enable cheats when they try to do commands like game mode or give (any command that is considered cheating).  Could be a yes or no prompt similar to how its shown when adding cheats to a world. That way cheat commands can only run if there they accept.

0

Description
0This is a pretty big exploit I came across yesterday while trying out the server. When a player is made op they can't change their game mode or use the give command if cheats are off. That is normal expected behavior. Now through the console, the game mode of a player can be changed and it won't affect the "cheat" status. The player can then proceed to get materials for the achievements.

00

Steps to replicate:

0
    0
  1. Change player game mode to creative
  2. 0
  3. Get material (wheat for example)
  4. 0
  5. Complete the task to get the achievement (craft some bread with the wheat).
  6. 00
00

Possible Fix for Exploit:
0I saw that there is a command to toggle cheats on the server. I think a possible fix would be to prompt the person running the server to enable cheats when they try to do commands like gamemode or give (any command that is considered cheating). Could be a yes or no prompt similar to how its shown when adding cheats to a world. That way cheat commands can only run if there they accept.

Unresolved
Manuel O.
1
3
Confirmed
384881
1.17.10 - 1.21.11.17.10 1.8.1.2 1.16.1 1.16.40 1.20.0 1.20.51 1.21.1