View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Try to hack and cron stop every night - ProjeQtOr
 

Try to hack and cron stop every night

More
03 Sep 2025 10:13 - 03 Sep 2025 10:15 #1 by Lionel70
Hello,

I'm getting this error messages every night at 1:00 AM:

2025-09-03 01:00:03.408 ===== TRACE ===== Logfile->purge() : Technical trace to keep current log file
2025-09-03 01:00:04.006 ***** ERROR ***** [V12.2.2] HACK ================================================================
2025-09-03 01:00:04.006 ***** ERROR ***** [V12.2.2] Try to hack detected
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  Source Code = checkDisplayMenuForUser() Reject for menu 'Admin'
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  QUERY_STRING =  csrfToken=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&directAccessIndex=
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  REMOTE_ADDR = XX.XX.XX.XX
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  SCRIPT_FILENAME = /var/www/projeqtor/tool/cronRelaunch.php
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  CONNECTED USER = # -
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]     Last connection =
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]        Last access =
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]        Disconnection =
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  === Trace Stack for last error ===
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/projeqtor.php at line 1734 calling debugPrintTraceStack()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/model/Security.php at line 460 calling traceHack()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/adminFunctionalities.php at line 28 calling Security:checkDisplayMenuForUser()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/cronExecutionStandard.php at line 359 calling require_once()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/model/Cron.php at line 610 calling cronRunConsistencyCheck()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/model/Cron.php at line 449 calling Cron:run()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/cronRelaunch.php at line 30 calling Cron:relaunch()
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  ===
2025-09-03 01:00:04.007 ***** ERROR ***** [V12.2.2]  REQUEST_URI = /tool/cronRelaunch.php?csrfToken=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&directAccessIndex=
2025-09-03 01:00:04.524 ***** ERROR ***** [V12.2.2] CRON abnormally stopped
2025-09-03 01:00:04.524 ***** ERROR ***** [V12.2.2]  === Trace Stack for last error ===
2025-09-03 01:00:04.524 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/model/Cron.php at line 324 calling debugPrintTraceStack()
2025-09-03 01:00:04.525 ***** ERROR ***** [V12.2.2]  => /var/www/projeqtor/tool/cronRelaunch.php at line 28 calling Cron:abort()
2025-09-03 01:00:04.525 ***** ERROR ***** [V12.2.2]  => calling cronAbort()
2025-09-03 01:00:04.525 ***** ERROR ***** [V12.2.2]  ===

The "Try to hack" is a false positive. I've checked and there is no traffic between the server and the REMOTET_ADDR or any other IP address.The REMOTE_ADDR is the IP of the last disconnected user (either by automatic or manual disconnection). I'm certain this user is disconnected, their computer is off, and DHCP has not assigned the address to another device.

The problem started a long time ago (a year or so?) and I can't say which version it began on.

Any advice on where to look to solve this problem would be greatly appreciated.
Thank you in advance for your help.

Best regards,
Lionel
Last edit: 03 Sep 2025 10:15 by Lionel70.

Please Log in or Create an account to join the conversation.

More
04 Sep 2025 12:07 #2 by babynus
Hi,
This is not a false positive, it is a right positive, due to constraint you may have changed.
On configuration, user Admin is created with id #1.
This is the user we use to run the Cron.
So :
 - you must not delete with id #1
 - user with id #1 must have Administrator profile
 - user with id #1 must have acces to screen "Administration" (this is by default given by profile Administrator)

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
Today 09:47 #3 by Lionel70
Hi,

Thanks for your quick response.

I've checked the configuration based on your feedback. The only change I made was renaming the user from "Admin" to "Admin_XXXX" but keeping the ID #1.

The user with ID #1 was never deleted. It still has the "Administrator" profile and access to the "Administration" screen.

Since your last message, I've even changed the user's name back to "Admin", but the "Try to hack" error persists and the cron job still stops abnormally.

Thank you again for your help.

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.055 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.