Skip to content
This repository was archived by the owner on Jan 28, 2023. It is now read-only.

Fixed security vulnerability#15

Merged
JayWood merged 1 commit intoWooMinecraft:masterfrom
FinlayDaG33k:patch-1
Mar 9, 2016
Merged

Fixed security vulnerability#15
JayWood merged 1 commit intoWooMinecraft:masterfrom
FinlayDaG33k:patch-1

Conversation

@FinlayDaG33k
Copy link
Copy Markdown
Contributor

Fixed a security vulnerability where the server key would showup in ?woo_minecraft=check&key=SOMEINVALIDKEY opening a possibility for people to send commands to the Minecraft server trough their own wordpress site (eg. making the player OP)

Fixed a security vulnerability where the server key would showup in `?woo_minecraft=check&key=SOMEINVALIDKEY` opening a possibility for people to send commands to the Minecraft server trough their own wordpress site (eg. making the player OP)
@JayWood
Copy link
Copy Markdown
Member

JayWood commented Mar 9, 2016

@FinlayDaG33k I'm not entirely sure users would be able to 'send commands' to the server. Reason is the handshake goes from MC server -> WordPress server and relies solely on the URL the admin has put in. The key itself, is ONLY to verify the server. In no way throughout the code, is that key used to send/add/edit commands, a hacker would have to play 'man in the middle' and essentially mimic the web server while being attached to the MC server at the server level ( in the datacenter )

Still, your point is valid, I'm not sure why we were sending back the actual DB key in the response, maybe it was a debug thing?

JayWood added a commit that referenced this pull request Mar 9, 2016
Fixed security vulnerability
@JayWood JayWood merged commit 0a13a0f into WooMinecraft:master Mar 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants