Closed zwingser closed 8 months ago
Looks like your server got hacked with a criptominer: https://stackoverflow.com/questions/60151640/kdevtmpfsi-using-the-entire-cpu
this is the only server i deploy on my vps ,and this is a new vps from oracle arm machine.
and when the OpenMU server is shutdown . the problem solved .
so , i think there mast be some problems inside the contianer .
I'm sorry that this happened to you. Can you give us some information about how exactly you deployed that all-in-one with docker compose?
I'm sorry that this happened to you. Can you give us some information about how exactly you deployed that all-in-one with docker compose?
- Which ports does the container actually expose?
- Did you change the admin panel password?
Okay, I don't know how this cryptominer actually sneaked into that container, but I highly recommend to change the admin panel password.
Okay, I don't know how this cryptominer actually sneaked into that container, but I highly recommend to change the admin panel password.
@sven-n Is that specific to @zwingser container/setup or a CVE in the MUnique/OpenMU project?
Nothing detected here for now (on 91f97a0d0803).
Unfortunately, I found a way how to get some code into the server when the admin panel is accessible. I fixed it for now. However, I'm not sure if that was the attack vector.
@zwingser Can you check if there is any result for this query on the database?
SELECT * FROM config."PlugInConfiguration" WHERE "CustomPlugInSource" is not null
Unfortunately, I found a way how to get some code into the server when the admin panel is accessible. I fixed it for now. However, I'm not sure if that was the attack vector. @zwingser Can you check if there is any result for this query on the database?
SELECT * FROM config."PlugInConfiguration" WHERE "CustomPlugInSource" is not null
yesterday i remove the image & container & volumes , so i can not check it now . i can try to rebuild it ,but im not sure when it will happen again.
Okay, I'm closing this issue for now. If it happens again, open a new one or comment here.
We found a way how a crypto miner could come into that. It was the exposed postgres port in traefik deployment, see #435.
@zwingser But you used the "normal" deployment with nginx, right? In that case, we also might have to change something to keep the postgres database more private than it already is.
Describe the bug when the server is running . cpu up to 100%, and these process is called.
im using the docker all in one deployment . i can reproduce it in x86 and arm server .
at the begining , its ok ,after about 2weeks it happend.![image](https://github.com/MUnique/OpenMU/assets/126068653/0a532b44-9b55-483e-b7f3-72aa6045fbfe)
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.