# Copyright (c) 2010-2025 Jacob Hammack.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.


module Risu
	module Parsers
		module Nessus
			module PostProcess
				class FirefoxRollups < Risu::Base::PostProcessBase

					#
					def initialize
						@info =
						{
							:description => "Firefox Patch Rollup",
							:plugin_id => -99972,
							:plugin_name => "Missing the latest Firefox Patches",
							:item_name => "Update to the latest Firefox",
							:plugin_ids => [
								73099, #Firefox < 28.0 Multiple Vulnerabilities
								73769, #Firefox < 29.0 Multiple Vulnerabilities
								74440, #Firefox < 30.0 Multiple Vulnerabilities
								76763, #Firefox < 31.0 Multiple Vulnerabilities
								77500, #Firefox < 32.0 Multiple Vulnerabilities
								77906, #Firefox < 32.0.3 NSS Signature Verification Vulnerability
								78473, #Firefox < 33.0 Multiple Vulnerabilities
								79665, #Firefox < 34.0 Multiple Vulnerabilities
								80523, #Firefox < 35 Multiple Vulnerabilities
								81521, #Firefox < 36 Multiple Vulnerabilities
								82040, #Firefox < 36.0.3 JIT Code Execution
								82041, #Firefox < 36.0.4 SVG Bypass Privilege Escalation
								82503, #Firefox < 37.0 Multiple Vulnerabilities
								82998, #Firefox < 37.0.2 Failed Plugin Memory Corruption
								83439, #Firefox < 38.0 Multiple Vulnerabilities
								84581, #Firefox < 39.0 Multiple Vulnerabilities (Logjam)
								82583, #Firefox < 37.0.1 HTTP/2 Alt-Svc Header Certificate Verification Bypass
								85386, #Firefox < 40 Multiple Vulnerabilities
								62998, #Firefox < 17.0 Multiple Vulnerabilities
								63551, #Firefox < 18.0 Multiple Vulnerabilities
								64723, #Firefox < 19.0 Multiple Vulnerabilities
								65131, #Firefox < 19.0.2 nsHTMLEditor Use-After-Free
								65806, #Firefox < 20 Multiple Vulnerabilities
								66480, #Firefox < 21.0 Multiple Vulnerabilities
								66993, #Firefox < 22.0 Multiple Vulnerabilities
								69269, #Firefox < 23.0 Multiple Vulnerabilities
								69993, #Firefox < 24.0 Multiple Vulnerabilities
								70716, #Firefox < 25.0 Multiple Vulnerabilities
								70949, #Firefox < 25.0.1 NSS and NSPR Multiple Vulnerabilities
								71347, #Firefox < 26.0 Multiple Vulnerabilities
								72331, #Firefox < 27.0 Multiple Vulnerabilities
								85275, #Firefox < 39.0.3 PDF Reader Arbitrary File Access
								85689, #Firefox < 40.0.3 Multiple Vulnerabilities
								86071, #Firefox < 41 Multiple Vulnerabilities
								86764, #Firefox < 42 Multiple Vulnerabilities
								87476, #Firefox < 43 Multiple Vulnerabilities
								86418, #Firefox < 41.0.2 'fetch' API Cross-Origin Bypass
								88461, #Firefox < 44 Multiple Vulnerabilities
								89875, #Firefox < 45 Multiple Vulnerabilities
								90793, #Firefox < 46 Multiple Vulnerabilities
								91547, #Firefox < 47 Multiple Vulnerabilities
								88754, #Firefox < 44.0.2 Service Workers Security Bypass
								92755, #Firefox < 48 Multiple Vulnerabilities
								93662, #Mozilla Firefox < 49.0 Multiple Vulnerabilities
								94960, #Mozilla Firefox < 50.0 Multiple Vulnerabilities
								95475, #Mozilla Firefox < 50.0.2 nsSMILTimeContainer.cpp SVG Animation RCE
								95886, #Mozilla Firefox < 50.1 Multiple Vulnerabilities
								96776, #Mozilla Firefox < 51.0 Multiple Vulnerabilities
								97639, #Mozilla Firefox < 52.0 Multiple Vulnerabilities
								99125, #Mozilla Firefox < 52.0.1 CreateImageBitmap RCE
								99632, #Mozilla Firefox < 53 Multiple Vulnerabilities
								100127, #Mozilla Firefox < 53.0.2 ANGLE Graphics Library RCE
								55901, #Firefox 3.6 < 3.6.20 Multiple Vulnerabilities
								56334, #Firefox 3.6.x < 3.6.23 Multiple Vulnerabilities
								56750, #Firefox 3.6.x < 3.6.24 Multiple Vulnerabilities
								57768, #Firefox < 10.0 Multiple Vulnerabilities
								57769, #Firefox 3.6.x < 3.6.26 Multiple Vulnerabilities
								58006, #Firefox 3.6.x < 3.6.27 'png_decompress_chunk' Integer Overflow
								58349, #Firefox 3.6.x < 3.6.28 Multiple Vulnerabilities
								58898, #Firefox < 12.0 Multiple Vulnerabilities
								59407, #Firefox < 13.0 Multiple Vulnerabilities
								60043, #Firefox < 14.0 Multiple Vulnerabilities
								61715, #Firefox < 15.0 Multiple Vulnerabilities
								62580, #Firefox < 16.0 Multiple Vulnerabilities
								62589, #Firefox < 16.0.1 Multiple Vulnerabilities
								94232, #Mozilla Firefox 48.x / 49.x < 49.0.2 Multiple Vulnerabilities
								102359, #Mozilla Firefox < 55 Multiple Vulnerabilities
								100810, #Mozilla Firefox < 54 Multiple Vulnerabilities
								103680, #Mozilla Firefox < 56 Multiple Vulnerabilities
								99631, #Mozilla Firefox ESR 52.x < 52.1 Multiple Vulnerabilities
								100126, #Mozilla Firefox ESR 52.x < 52.1.1 ANGLE Graphics Library RCE
								100809, #Mozilla Firefox ESR < 52.2 Multiple Vulnerabilities
								102358, #Mozilla Firefox ESR < 52.3 Multiple Vulnerabilities
								104637, #Mozilla Firefox ESR < 52.5 Multiple Vulnerabilities
								105212, #Mozilla Firefox ESR < 52.5.2 Multiple Vulnerabilities
								106302, #Mozilla Firefox ESR < 52.6 Multiple Vulnerabilities
								103679, #Mozilla Firefox ESR < 52.4 Multiple Vulnerabilities
								108376, #Mozilla Firefox ESR < 52.7 Multiple Vulnerabilities
								108586, #Mozilla Firefox ESR < 52.7.2 Multiple Code Execution Vulnerabilities
								108755, #Mozilla Firefox ESR < 52.7.3 Denial of Service Vulnerability
								104638, #Mozilla Firefox < 57 Multiple Vulnerabilities
105213, #Mozilla Firefox < 57.0.2 ANGLE Graphics Library RCE
106303, #Mozilla Firefox < 58 Multiple Vulnerabilities
106561, #Mozilla Firefox < 58.0.1 Arbitrary Code Execution
108377, #Mozilla Firefox < 59 Multiple Vulnerabilities
108587, #Mozilla Firefox < 59.0.1 Multiple Code Execution Vulnerabilities
108756, #Mozilla Firefox ESR < 59.0.2 Denial of Service Vulnerability
109869, #Mozilla Firefox < 60 Multiple Critical Vulnerabilities
105040, #Mozilla Firefox < 57.0.1 Multiple Vulnerabilities
105616, #Mozilla Firefox < 57.0.4 Speculative Execution Side-Channel Attack Vulnerability (Spectre)
110811, #Mozilla Firefox < 61 Multiple Critical Vulnerabilities
117294, #Mozilla Firefox < 62 Multiple Critical Vulnerabilities
118397, #Mozilla Firefox < 63 Multiple Vulnerabilities
117921, #Mozilla Firefox < 62.0.3 Multiple Vulnerabilities
117941, #Mozilla Firefox < 49 Multiple Vulnerabilities
122948, #Mozilla Firefox < 66.0
123012, #Mozilla Firefox < 66.0.1
121512, #Mozilla Firefox < 65.0
125361, #Mozilla Firefox < 67.0
126002, #Mozilla Firefox < 67.0.3
126072, #Mozilla Firefox < 67.0.4
121477, #Mozilla Firefox ESR < 60.5
109868, #Mozilla Firefox ESR < 52.8 Multiple Critical Vulnerabilities
110809, #Mozilla Firefox ESR < 52.9 Multiple Critical Vulnerabilities
125877, #Mozilla Firefox < 67.0.2
117668, #Mozilla Firefox < 62.0.2 Vulnerability
119604, #Mozilla Firefox < 64.0 Multiple Vulnerabilities
122233, #Mozilla Firefox < 65.0.1
126622, #Mozilla Firefox < 68.0
128061, #Mozilla Firefox < 68.0.2
128525, #Mozilla Firefox < 69.0
132715, #Mozilla Firefox < 72.0.1
133693, #Mozilla Firefox < 73.0
136404, #Mozilla Firefox < 76.0
135276, #Mozilla Firefox < 75.0 (mfsa2020-12)
137049, #Mozilla Firefox < 77.0
138085, #Mozilla Firefox < 78.0
138445, #Mozilla Firefox < 78.0.2
119606, #Mozilla Firefox ESR < 60.4 Multiple Vulnerabilities
134405, #Mozilla Firefox < 74.0 Multiple Vulnerabilities
134407, #Mozilla Firefox ESR < 68.6 Multiple Vulnerabilities
139040, #Mozilla Firefox < 79.0
139789, #Mozilla Firefox < 80.0
142613, #Mozilla Firefox < 82.0.3
142910, #Mozilla Firefox < 83.0
141571, #Mozilla Firefox < 82.0
131773, #Mozilla Firefox < 71.0
132709, #Mozilla Firefox < 72.0 Multiple Vulnerabilities
135202, #Mozilla Firefox < 74.0.1
129101, #Mozilla Firefox < 69.0.1
130170, #Mozilla Firefox < 70.0 Multiple Vulnerabilities
140732, #Mozilla Firefox < 81.0
144282, #Mozilla Firefox < 84.0
146425, #Mozilla Firefox < 85.0.1
150119, #Mozilla Firefox < 89.0
148767, #Mozilla Firefox < 88.0
151571, #Mozilla Firefox < 90.0
152412, #Mozilla Firefox < 91.0
152635, #Mozilla Firefox < 91.0.1
150802, #Mozilla Firefox < 89.0.1
153089, #Mozilla Firefox < 92.0
153881, #Mozilla Firefox < 93.0
154819, #Mozilla Firefox < 94.0
148014, #Mozilla Firefox < 87.0
149281, #Mozilla Firefox < 88.0.1
158654, #Mozilla Firefox < 97.0.2
158694, #Mozilla Firefox < 98.0
157443, #Mozilla Firefox < 97.0
160465, #Mozilla Firefox < 100.0
161415, #Mozilla Firefox < 100.0.2
161716, #Mozilla Firefox < 101.0
162602, #Mozilla Firefox < 102.0
155917, #Mozilla Firefox < 95.0
156606, #Mozilla Firefox < 96.0
159530, #Mozilla Firefox < 99.0
163497, #Mozilla Firefox < 103.0
164344, #Mozilla Firefox < 104.0
165262, #Mozilla Firefox < 105.0
166209, #Mozilla Firefox < 106.0
167633, #Mozilla Firefox < 107.0
168651, #Mozilla Firefox < 108.0
170099, #Mozilla Firefox < 109.0
177932, #Mozilla Firefox < 115.0
174076, #Mozilla Firefox < 112.0
175330, #Mozilla Firefox < 113.0
176741, #Mozilla Firefox < 114.0
171454, #Mozilla Firefox < 110.0
172515, #Mozilla Firefox < 111.0
178147, #Mozilla Firefox < 115.0.2
180232, #Mozilla Firefox < 117.0
181349, #Mozilla Firefox < 117.0.1
181875, #Mozilla Firefox < 118.0
182134, #Mozilla Firefox < 118.0.1
179143, #Mozilla Firefox < 116.0
186186, #Mozilla Firefox ESR < 115.5.0
183784, #Mozilla Firefox ESR < 115.4
189364, #CRITICAL, Mozilla Firefox < 122.0
190779, #HIGH, Mozilla Firefox < 123.0
192470, #HIGH, Mozilla Firefox < 124.0.1
193366, #HIGH, Mozilla Firefox < 125.0
196992, #HIGH, Mozilla Firefox < 126.0
200315, #HIGH, Mozilla Firefox < 127.0
183785, #CRITICAL, Mozilla Firefox < 119.0
186030, #CRITICAL, Mozilla Firefox < 120.0
186032, #CRITICAL, Mozilla Firefox < 115.5
187079, #CRITICAL, Mozilla Firefox < 121.0
205009, #CRITICAL, Mozilla Firefox < 129.0
202017, #HIGH, Mozilla Firefox < 128.0
192243, #MEDIUM, Mozilla Firefox < 124.0

							]
						}
					end
				end
			end
		end
	end
end
