Browse code

simplify joomla detection

Hanno Böck authored on07/12/2019 18:17:50
Showing1 changed files
... ...
@@ -85,20 +85,10 @@ subdir=4
85 85
 url=https://www.joomla.org/
86 86
 safe=3.9.13
87 87
 vuln=CVE-2019-18674
88
-file=version.php
89
-variable=var $RELEASE,var $DEV_LEVEL
90
-extra_match=@package Joomla
91
-subdir=1
92
-
93
-# 1.5 has changed identification
94
-[Joomla-1_5]
95
-url=https://www.joomla.org/
96
-safe=3.9.13
97
-vuln=CVE-2019-18674
98
-file=version.php
99
-variable=var $RELEASE,var $DEV_LEVEL
100
-extra_match=@package	Joomla.Framework
101
-subdir=2
88
+file=CHANGELOG.php
89
+variable=---------------
90
+extra_match=Joomla! is free software.
91
+subdir=0
102 92
 
103 93
 [Joomla-3]
104 94
 url=https://www.joomla.org/
... ...
@@ -106,8 +96,8 @@ safe=3.9.13
106 96
 vuln=CVE-2019-18674
107 97
 file=joomla.xml
108 98
 variable=<version>
109
-#extra_match=@package	Joomla.Framework
110
-extra_match=<name>files_joomla</name>
99
+extra_match=FILES_JOOMLA_XML_DESCRIPTION
100
+path_match=administrator/manifests/files
111 101
 subdir=0
112 102
 
113 103
 [Mambo]