• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue How to stop cron abuse?

tkalfaoglu

Silver Pleskian
Server operating system version
Rocky Linux 8.9
Plesk version and microupdate number
Obsidian latest
Hello there. I found out some cron job belonging to a customer when I went into PLESK settings:
I can't post it as this server won't accept it, but it's a one liner that downloads a file from some hellodolly site and runs it

this was put into their crontab even though the owner of that domain does not have permission to schedule jobs according to PLESK.
I believe cron can protect itself from such jobs using /etc/cron.d/cron.allow and deny files.
What would be the required users to put into the allow file for plesk?
I assume root and psaadm?

Regards, -turgut
 
The problem can be that path traversal is done by a malicious PHP script, and the directory where the cron files are stored can be reached. New cron files can be written to it. These will then show up as new cron jobs in the scheduler. The newer the PHP version, the less danger there is. In PHP versions 5.6 or older it was very easy to break out of the base URL jail. In newer versions it became more difficult, but I would not guarantee for that it cannot be done. So if you still have old PHP running on your server, a first good step is to remove it.
 
Back
Top