Hello all,
We recently had one of our servers attacked and websites defaced. We believe this was related to the zero-day vulnerability fixed in
[security] Fixed case CPANEL-5973: Update cpanel-ImageMagick to 6.9.0-4.cp1154.
The attacked server had failed its automatic upgrade, and other VPSs which upgraded WHM/cPanel automatically were unaffected.
We managed to restore the websites (.htaccess redirection / bogus index.htm files were used) but cPanel access for customers is also defaced (WHM access for root is unaffected). The cPanel page IS being loaded but there is some animation hovering over it which doesn't let you use anything. However my knowledge doesn't let me get past that.
I found that in the (defaced) page you can access an option to change the theme, and if you select "paper lantern" (the defauilt is "x3"), you can access all options normally. If you then select "x3", the defaced page returns.
The "suspended account" page is also defaced.
Oddly, not all accounts are affected, but again my knowledge is not enough to determine what files/configurations are compromised. Unaffected accounts can access cPanel normally (even usign "x3" theme) and suspended account's pages display normally.
How can I restore the defaced pages? Where are the corresponding files located?
We recently had one of our servers attacked and websites defaced. We believe this was related to the zero-day vulnerability fixed in
[security] Fixed case CPANEL-5973: Update cpanel-ImageMagick to 6.9.0-4.cp1154.
The attacked server had failed its automatic upgrade, and other VPSs which upgraded WHM/cPanel automatically were unaffected.
We managed to restore the websites (.htaccess redirection / bogus index.htm files were used) but cPanel access for customers is also defaced (WHM access for root is unaffected). The cPanel page IS being loaded but there is some animation hovering over it which doesn't let you use anything. However my knowledge doesn't let me get past that.
I found that in the (defaced) page you can access an option to change the theme, and if you select "paper lantern" (the defauilt is "x3"), you can access all options normally. If you then select "x3", the defaced page returns.
The "suspended account" page is also defaced.
Oddly, not all accounts are affected, but again my knowledge is not enough to determine what files/configurations are compromised. Unaffected accounts can access cPanel normally (even usign "x3" theme) and suspended account's pages display normally.
How can I restore the defaced pages? Where are the corresponding files located?