Users swapping PHP server and session vars randomly

Bright Minds

Registered
Feb 13, 2019
1
0
1
Lisbo
cPanel Access Level
Root Administrator
Hi

I'm experiencing a strange situation.

The users are getting other user's $_SESSION and $_SERVER vars randomly.

Example:

If I print $_SERVER['REMOTE_ADDR'] I receive different ips (randomly):

[Removed - Please attach images directly to the thread]

After some time
[Removed - Please attach images directly to the thread]

After some time
upload_2019-2-13_20-45-48.png

The same occurs with $_SESSION var.

Some idea how fix this?

-----

Server information:
cPanel Version: 76.0 (build 20)
Apache Version: 2.4.38
PHP Version: 5.6.40 (PHP site version 7.2)
MySQL Version: 5.7.25
Architecture: x86_64
Operating System: linux (CentOS)
Perl Version: 5.16.3
Kernel Version: 4.9.120-xxxx-std-ipv6-64
 

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
Hello @Bright Minds,

Are you using any third-party applications or services (e.g. Nginx, CloudFlare) on this system?

Thank you.