You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2> The site got compromised, and a PHP shell script was uploaded</h2>
19
19
<pclass="fragment">All modules were up to date.</p>
20
20
<pclass="fragment"> There were no known vulnerabilities in any of the modules used, that would have allowed for a PHP shell to be uploaded. </p>
21
-
<pclass="fragment"> Jack Merridew, the head of their webteam was able to see the php script was used to copy down the users tables. </p>
21
+
<pclass="fragment"> Jack Merridew, the head of their webteam was able to see the php script was used to copy down the users table. </p>
22
22
23
23
</section>
24
24
<section>
25
25
<h2>hacked</h2>
26
26
<pclass="fragment"> It may have been able to download more parts of the database, but the attacker only left a copy of the users table behind. </p>
27
-
<pclass="fragment"> The PHP script that was uploaded allowed the attacker to have file system access (download any file including files from Drupal's private file system. </p>
27
+
<pclass="fragment"> The PHP script that was uploaded allowed the attacker to have file system access (download any file including files from Drupal's private file system). </p>
28
28
<pclass="fragment"> It also allowed the attacker to run and display the results of SQL queries. </p>
29
29
</section>
30
30
<section>
31
-
<h2>Quick Break Module updates</h2>
31
+
<h2>Quick Break: Module updates</h2>
32
32
<p>Please text: 734-821-5212</p>
33
33
34
34
<tableclass="answertable sticky-enabled">
@@ -48,15 +48,15 @@ <h2> Module updates</h2>
48
48
49
49
<section>
50
50
<h2> A module used a 3rd party library</h2>
51
-
<p>The library was updated, however, unless you deleted the old version before installing the new version, you were still vulnerable</p>
51
+
<p>The library was updated. Unless you deleted the old version before installing the new version, you are still vulnerable.</p>
52
52
</section>
53
53
<section>
54
54
<imgsrc="tales/images/hacked.png">
55
55
</section>
56
56
57
57
<section>
58
58
<h2>Lessons learned</h2>
59
-
<p>Remove the library/module/theme before updating, this ensures that all old files are removed</p>
59
+
<p>Remove the library/module/theme before updating. This ensures that all old files are removed</p>
60
60
<p>Configure PHP so it will not execute code from directories it should not (sites/*/files) </p>
61
61
<p>Prevent the webserver from writing to directories that are not (sites/*/files) </p>
62
62
<p> The security_review module can help with this.</p>
0 commit comments