Website Vulnerability Scanner Report
https://www.liiklusvalve.ee
Summary
Ov erall risk lev el: Risk rat ings: Scan informat ion:
H igh High: 3 Start time: 2020-03-07 09:00:30 UTC+02
Medium: 1 Finish time: 2020-03-07 09:59:21 UTC+02
Low: 4 Scan duration: 58 min, 51 sec
Info: 13 Tests performed: 21/21
Scan status: Finished
Findings
Jquery-ui-dialog 1.8.2 has 1 vulnerability
Vulne ra bility title Ris k C VE U RLs
https://github.com/jquery/api.jqueryui.com/issues/281
XSS Vulnerability on closeText option High CVE-2016-7103 https://nvd.nist.gov/vuln/detail/CVE-2016-7103
https://snyk.io/vuln/npm:jquery-ui:20160721
Details
Ris k de s c ription:
The JavaScript component Jquery-ui-dialog 1.8.2 found in https://www.liiklusvalve.ee/Scripts/jquery-ui-1.8.2.custom.min.js has 1 vulnerability
Depending on the specific details of the vulnerabilities, an attacker could exploit them to affect the confidentiality and the integrity of the
application's data or to affect the availability of the entire system.
Re c omme nda tion:
Upgrade the affected component to the latest version.
SQL Injection
Vulne ra ble Vulne ra ble
M e thod A tta c k Ve c tor
Pa g e Pa ra me te r
/Users/Tara/I https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=%2Fsitemap.xml%27+AND+
ndex
ReturnUrl GET
%271%27%3D%271%27+--+
Details
Ris k de s c ription:
The risk exists that an attacker gains unauthorized access to the information from the database of the application. He could extract information
such as: application usernames, passwords, client information and other application specific data.
Re c omme nda tion:
We recommend implementing a validation mechanism for all the data received from the users.
The best way to protect against SQL Injection is to use prepared statements for every SQL query performed on the database.
Otherwise, the user input can also be sanitized using dedicated methods such as: mysqli_real_escape_string.
More information about SQL injection and the way to protect against this attack can be found here:
https://www.owasp.org/index.php/SQL_Injection
https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.md
File Inclusion
1/6
Vulne ra ble Pa g e Vulne ra ble Pa ra me te r M e thod A tta c k Ve c tor
/Users/Tara/Index ReturnUrl GET https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=Index
Details
Ris k de s c ription:
The risk exists that an attacker can manipulate the affected parameter in order to load or execute any locally or remote stored file.
This could lead to reading arbitrary files, code execution, Cross-Site Scripting, denial of service, sensitive information disclosure.
Re c omme nda tion:
The most effective solution to eliminate file inclusion vulnerabilities is to avoid passing user-submitted input to any filesystem/framework API. If
this is not possible the application can maintain a white list of files, that may be included by the page, and then use an identifier (for example the
index number) to access to the selected file. Any request containing an invalid identifier has to be rejected, in this way there is no attack surface
for malicious users to manipulate the path.
References:
https://www.owasp.org/index.php/Testing_for_Local_File_Inclusion
https://www.owasp.org/index.php/Testing_for_Remote_File_Inclusion
Jquery 1.4.4 has 4 vulnerabilities
Vulne ra bility title Ris k C VE U RLs
CVE- https://nvd.nist.gov/vuln/detail/CVE-2011-4969
XSS with location.hash Medium 2011- http://research.insecurelabs.org/jquery/test/
4969 https://bugs.jquery.com/ticket/9521
CVE- http://bugs.jquery.com/ticket/11290
Selector interpreted as HTML Medium 2012- https://nvd.nist.gov/vuln/detail/CVE-2012-6708
6708 http://research.insecurelabs.org/jquery/test/
https://github.com/jquery/jquery/issues/2432
CVE-
http://blog.jquery.com/2016/01/08/jquery-2-2-and-1-12-released/
3rd party CORS request may execute Medium 2015-
https://nvd.nist.gov/vuln/detail/CVE-2015-9251
9251
http://research.insecurelabs.org/jquery/test/
jQuery before 3.4.0, as used in Drupal,
CVE- https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/
Backdrop CMS, and other products,
Low 2019- https://nvd.nist.gov/vuln/detail/CVE-2019-11358
mishandles jQuery.extend(true, {}, ...)
11358 https://github.com/jquery/jquery/commit/753d591aea698e57d6db58c9f722cd0808619b1b
because of Object.prototype pollution
Details
Ris k de s c ription:
The JavaScript component Jquery 1.4.4 found in https://www.liiklusvalve.ee/Scripts/jquery-1.4.4.min.js has 4 vulnerabilities
Depending on the specific details of the vulnerabilities, an attacker could exploit them to affect the confidentiality and the integrity of the
application's data or to affect the availability of the entire system.
Re c omme nda tion:
Upgrade the affected component to the latest version.
Server software and technology found
S oftwa re / Ve rs ion C a te g ory
IIS 7.5 Web Servers
Microsoft ASP.NET 4.0.30319 Web Frameworks
Google Analytics UA Analytics
jQuery 1.4.4 JavaScript Frameworks
jQuery UI 1.8.2 JavaScript Frameworks
Details
2/6
Ris k de s c ription:
An attacker could use this information to mount specific attacks against the identified software type and version.
Re c omme nda tion:
We recommend you to eliminate the information which permit the identification of software platform, technology, server and operating system:
HTTP server headers, HTML meta information, etc.
More information about this issue:
https://www.owasp.org/index.php/Fingerprint_Web_Server_(OTG-INFO-002).
Missing HTTP security headers
H T T P S e c urity H e a de r H e a de r Role S ta tus
X-Frame-Options Protects against Clickjacking attacks Not set
Strict-Transport-Security Protects against man-in-the-middle attacks Not set
X-Content-Type-Options Prevents possible phishing or XSS attacks Not set
Details
Ris k de s c ription:
Because the X-Frame-Options header is not sent by the server, an attacker could embed this website into an iframe of a third party website. By
manipulating the display attributes of the iframe, the attacker could trick the user into performing mouse clicks in the application, thus
performing activities without user's consent (ex: delete user, subscribe to newsletter, etc). This is called a Clickjacking attack and it is described
in detail here:
https://www.owasp.org/index.php/Clickjacking
The HTTP Strict-Transport-Security header instructs the browser not to load the website via plain HTTP connection but always use HTTPS. Lack of
this header exposes the application users to the risk of data theft or unauthorized modification in case the attacker implements a man-in-the-
middle attack and intercepts the communication between the user and the server.
The HTTP X-Content-Type-Options header is addressed to Internet Explorer browser and prevents it from reinterpreting the content of a web
page (MIME-sniffing) and thus overriding the value of the Content-Type header). Lack of this header could lead to attacks such as Cross-Site
Scripting or phishing.
Re c omme nda tion:
We recommend you to add the X-Frame-Options HTTP response header to every page that you want to be protected against Clickjacking
attacks.
More information about this issue:
https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_Sheet
We recommend setting the Strict-Transport-Security header.
More information about this issue:
https://www.owasp.org/index.php/HTTP_Strict_Transport_Security_Cheat_Sheet
We recommend setting the X-Content-Type-Options header to "X-Content-Type-Options: nosniff".
More information about this issue:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
Incomplete or No Cache-control and Pragma HTTP Header Set
A ffe c te d ite ms E vide nc e
https://www.liiklusvalve.ee/Users/Tara private
https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=%2frobots.txt private
https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=%2fsitemap.xml private
Details
Ris k de s c ription:
The cache-control and pragma HTTP header have not been set properly or are missing allowing the browser and proxies to cache content.
Re c omme nda tion:
Whenever possible ensure the cache-control HTTP header is set with no-cache, no-store, must-revalidate; and that the pragma HTTP header is
set with no-cache.
3/6
https://www.owasp.org/index.php/Session_Management_Cheat_Sheet#Web_Content_Caching
Cookie Without Secure Flag
A ffe c te d ite ms E vide nc e
https://www.liiklusvalve.ee/Users/Tara Set-Cookie: ASP.NET_SessionId
https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=%2frobots.txt Set-Cookie: ASP.NET_SessionId
Details
Ris k de s c ription:
A cookie has been set without the secure flag, which means that the cookie can be accessed via unencrypted connections.
Re c omme nda tion:
Whenever a cookie contains sensitive information or is a session token, then it should always be passed using an encrypted channel. Ensure
that the secure flag is set for cookies containing such sensitive information.
http://www.owasp.org/index.php/Testing_for_cookies_attributes_(OWASP-SM-002)
No vulnerabilities found for server-side software
Communication is secure
Robots.txt file not found
No security issue found regarding client access policies
No password input found (clear-text submission test)
No sensitive files found
No interesting files were found
No server information disclosure was found
No server software was identified
No administration consoles were found
Spider results: 6 dynamic URLs of total 11 URLs crawled
ID M E T H OD U RL PA RA M S
1 GET /Users/Tara/Index ReturnUrl=%2frobots.txt
2 GET /Users/Tara/SetLanguage language=en
3 GET /Users/Tara/Authorize language=en
4 GET /Users/Tara/SetLanguage language=et
5 GET /Users/Tara/Index ReturnUrl=%2fsitemap.xml
6 GET /Users/Tara/Authorize isPublicRequest=False
4/6
No Cross-Site Scripting vulnerabilities found.
No OS Command Injection vulnerabilities found.
5/6
Scan coverage information
List of tests performed (21/ 21)
Fingerprinting the server software and technology...
Checking for vulnerabilities of server-side software...
Analyzing HTTP security headers...
Checking for secure communication...
Checking robots.txt file...
Checking client access policies...
Checking for clear-text submission of passwords (quick scan)...
Checking for Jquery vulnerabilities...
Checking for Jquery-ui-dialog vulnerabilities...
Searching for sensitive files...
Checking for interesting files...
Checking for information disclosure...
Checking for software identification...
Checking for administration consoles...
Spidering target...
Scanning for XSS vulnerabilities...
Scanning for SQL Injection vulnerabilities...
Scanning for File Inclusion vulnerabilities...
Scanning for OS Command Injection vulnerabilities...
Scanning for Incomplete or No Cache-control and Pragma HTTP Header Set vulnerabilities...
Scanning for Cookie Without Secure Flag vulnerabilities...
Scan parameters
Website URL: https://www.liiklusvalve.ee
Scan type: Full_new
Authentication: False
6/6
JQuery versiooniuuenduse pakkumine LJVIS
serveris kriitiliste haavatavuste parandamiseks ja
süsteemi uuendamiseks
Majandus -ja Kommunikatsiooniministeerium | Verner Eiber 20.03.2020
Esitame pakkumise Majandus-ja Kommunikatsiooniministeeriumile (MKM) JQuery
uuendamiseks LJVIS serveris, mille eesmärgiks on uuendada LJVIS serveris JQuery
versioon uue JQuery versiooni vastu (v 3.4.1). Tulenevalt JQuery
versioonivahetusest viiakse LJVIS tarkvara vastavusse JQuery uuema versiooni
nõuetega.
1) Uuendame JQuery versiooni;
2) Testime funktsionaalsust;
3) Kirjutame ümber ja faktoorime lisatud failid.
▪ TÖÖDE MAHT JA MAKSUMUS
Meie hinnangul kulub tööde teostamiseks kuni 240 tundi maksumusega kuni
9600 eurot. Tööde loetelu on toodud allolevas tabelis.
TÖÖDE LOETELU AEG MAKSUMUS
(H)
JQuery uuendamine ja vana versiooni eemaldamine. 40 1600
Javascript failide uuendamine
C:\dev\ljvis\Ljvis\Scripts\analysis.js 4 160
C:\dev\ljvis\Ljvis\Scripts\background-search.js 4 160
C:\dev\ljvis\Ljvis\Scripts\company-address.js 4 160
C:\dev\ljvis\Ljvis\Scripts\controlcard.js 4 160
C:\dev\ljvis\Ljvis\Scripts\dialog-link.js 4 160
C:\dev\ljvis\Ljvis\Scripts\excelexport.js 4 160
C:\dev\ljvis\Ljvis\Scripts\form2infringement.js 4 160
C:\dev\ljvis\Ljvis\Scripts\form-binder.js 4 160
C:\dev\ljvis\Ljvis\Scripts\form-scripts.js 4 160
C:\dev\ljvis\Ljvis\Scripts\loader-icon.js 4 160
1
TÖÖDE LOETELU AEG MAKSUMUS
(H)
C:\dev\ljvis\Ljvis\Scripts\mobileauth.js 4 160
C:\dev\ljvis\Ljvis\Scripts\public-requests.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site-login.js 4 160
C:\dev\ljvis\Ljvis\Scripts\erru\ccl.js 4 160
C:\dev\ljvis\Ljvis\Scripts\erru\cgr.js 4 160
C:\dev\ljvis\Ljvis\Scripts\erru\rsi.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\partials\form-control.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\print\dd-print.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\print\print.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\print\rcc-print.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\print\rw-print.js 4 160
Suuremahuliste Javascript failide uuendamine
C:\dev\ljvis\Ljvis\Scripts\formfunctions.js 14 560
C:\dev\ljvis\Ljvis\Scripts\infringement.js 14 560
C:\dev\ljvis\Ljvis\Scripts\unitedform.js 14 560
Javascript pistikprogrammide uuendamine 20tk 74 2960
PAKKUMUSE MAHT KOKKU 240 9600
▪ HINNAPAKKUMINE EI SISALDA
Lähteülesandele oli lisatud MKM-i „LJVIS haavatavuste raport“.
Automaatne testimistarkvara hindab rakendusi sisulist analüüsi tegemata. Samuti
on erinevate automaattestimisvahendite hindamistulemused erinevad.
Automaathindamisvahendid lähtuvad üksnes automaatsetest parameetritest.
Kaardistasime ja hindasime LJVIS raportis esinenud vead allolevas tabelis. Suure
tõenäosusega kaovad JQuery uuendamisel tabelis rohelise värviga märgitud vead
raportist. Kollasega märgitud read ei ole meie hinnangul LJVIS-i vaates
relevantsed. Käesolev hinnapakkumine sisaldab JQuery uuendamist LJVIS
süsteemis, vigade kadumist raportis ei saa pakkumise skoobis tehtava töö käigus
garanteerida.
2
Raportis sisalduva
kriitilise või keksmise
tähtsusega vea sisu Vea parandamise ja Tulemus Jquery
(kokku 4 veatüüpi) relevantsuse hinnang versiooni uuendamisel
Tarkvara uuendamisega
Query-ui-dialog 1.8.2 haavatavus tõenäoliselt
vulnerability Vajab Jquery uuendamist kaob
LJVIS-i vaates ei ole viga
relevantne, sest LJVIS
süsteemis ei kasutata
tagastatavat URL-i, vaid
lisatakse automaatselt Ei saa garanteerida vea
SQL süst (SQL Injection) ASP.NET MVC-ga kadumist raportist
LJVIS-i vaates ei ole viga
relevantne, sest LJVIS
süsteemis ei kasutata
tagastatavat URL-i, vaid
Faili kaasamine (File lisatakse automaatselt Ei saa garanteerida vea
Inclusion) ASP.NET MVC-ga kadumist raportist
Tarkvara uuendamisega
haavatavus tõenäoliselt
Jquery 1.4.4 vulnerabilities Vajab Jquery uuendamist kaob
Pakkumises toodud tunnihind on tulenevalt raamlepingust 40,00 eurot.
▪ TÖÖDE AJAKAVA
▪ JQuery uuendamine on võimalik teostada 3 kuu jooksul.
Pakkumine on koostatud ja allkirjastatud digitaalselt.
Allkiri:
______________________
Eero Tohver
Uptime OÜ
3
Liiklusjärelevalve infosüsteemi JQuery versiooniuuendus ja
kriitiliste turvavigade parandamine
Lähteülesanne
1. Liiklusjärelevalve infosüsteemi (edaspidi LJVIS) serveris on kasutatud JavaScripti teek JQuery, mille
viimane uuendamine toimus 2012. aastal. Tulenevalt aegunud JQuery versioonist on LJVIS
tarkvarasse tekkinud turvaaugud, millest Website Vulnerability Scanner Reporti põhjal mitmed on
kõrge riskiga, võimaldades SQL ründe korral manipuleerida andmebaasi andmetega.
2. Arendustöö käigus on vaja teha järgnevad tööd:
2.1. JQuery versiooniuuendus, mille käigus võetakse kasutusele JQuery uusim versioon (3.4.1);
2.2. tulenevalt JQuery versioonivahetusest viiakse LJVIS tarkvara vastavusse JQuery uuema
versiooni nõuetega;
2.3. parandatakse LJVIS tarkvaras tuvastatud kriitilised ja keskmise turvariskiga turvavead
vastavalt turvavigade skaneerimise raportile.
3. Töötundide arvestus toimub reaalselt kulunud töötundide alusel. Arendustöö töötunnid
fikseeritakse töö üleandmis-vastuvõtu akti alusel. Maksimaalne töötundide arv on 240 töötundi.
Arendustööde hankeleping nr. 4/1.9-21/20-110-1
Tallinnas, {regDateTime}
Majandus- ja Kommunikatsiooniministeerium, registrikood 70003158, asukohaga Suur-
Ameerika 1, Tallinn 10122, mida esindab põhimääruse alusel kantsler Ando Leppiman
(edaspidi Tellija)
ja
Uptime OÜ, registrikood 10308733, asukoht Pärnu mnt 158/2, Tallinn 11317, mida esindab
juhatuse liige Eero Tohver (edaspidi Täitja), keda edaspidi nimetatakse üheskoos ka Pooled ja
eraldi Pool,
sõlmivad käesoleva hankelepingu (edaspidi Leping) alljärgnevas:
1. Üldsätted ja Lepingu alus
1.1. Leping sõlmitakse Tellija korraldatud lihthanke "Liiklusjärelevalve infosüsteemi
arendus- ja hooldusteenus 2“ (viitenumber 202118) tulemusena 04.12.2018. a sõlmitud
raamlepingu 1.9-21/18-429-1 (edaspidi Raamleping) ja 08.01.2020 sõlmitud
Raamlepingu lisa 4 alusel.
1.2. Lepingu dokumendid koosnevad Raamlepingust, Lepingust, Lepingu lisadest ning
Lepingu võimalikest muudatustest, milles lepitakse kokku pärast Lepingule
allakirjutamist.
1.3. Pooltel on õigus Lepingu muutmises kokku leppida üksnes Raamlepingus sätestatud
tingimuste piires, v.a juhul, kui muutmise tulemusena on Lepingu tingimused Tellija
jaoks Raamlepingus sätestatud tingimustest soodsamad.
1.4. Käesoleva Lepingu allakirjutamise hetkel on Lepingule lisatud:
Lisa 1 – Lähteülesanne;
Lisa 2 – Turvavigade skaneerimise raport;
Lisa 3 – Pakkumus.
2. Lepingu objekt, Töö teostamise tähtaeg ja maksumus
2.1. Lepingu objektiks on liiklusjärelevalve infosüsteemis JavaScripti teegi JQuery versiooni
uuendamine ja tuvastatud kriitiliste ning keskmise turvariskiga turvavigade
parandamine (edaspidi Töö) vastavalt Lepingu Lisadele 1, 2 ja 3.
2.2. Täitja kohustub Töö üle andma hiljemalt kolme kuu jooksul peale lepingu sõlmimist.
2.3. Lepingu maht on kuni 240 töötundi ja Lepingu maksumus käibemaksuta on kuni 9600
eurot.
2.4. Töötundide arvestus toimub reaalselt kulunud töötundide alusel. Töö teostamiseks
kulunud töötunnid fikseeritakse töö üleandmise-vastuvõtmise aktis.
3. Lepingu eseme üleandmine ja vastuvõtmine
Töö antakse Tellijale üle vastavalt Raamlepingu punktidele 6.2 ja 6.3.
-1-
4. Poolte volitatud esindajad
4.1. Tellija volitatud esindaja Lepingu tingimuste täitmisel, kontrollimisel ja Töö
vastuvõtmisel on Verner Eiber (telefon +372 6256 496, e-post
[email protected]).
4.2. Täitja volitatud esindaja Lepingu tingimuste täitmisel, kontrollimisel ja Töö üleandmisel
on Ken Kaljas (telefon +372 565 2288, e-post
[email protected]).
4.3. Juhul, kui Tellija või Täitja asendab oma esindaja teisega, teatab ta sellest teisele Poolele
viivitamatult kirjalikult.
Poolte allkirjad:
Tellija: Täitja:
Majandus- ja Kommunikatsiooni- Uptime OÜ
ministeerium
Ando Leppiman Eero Tohver
Kantsler Juhatuse liige
-2-
Website Vulnerability Scanner Report
https://www.liiklusvalve.ee
Summary
Ov erall risk lev el: Risk rat ings: Scan informat ion:
H igh High: 3 Start time: 2020-03-07 09:00:30 UTC+02
Medium: 1 Finish time: 2020-03-07 09:59:21 UTC+02
Low: 4 Scan duration: 58 min, 51 sec
Info: 13 Tests performed: 21/21
Scan status: Finished
Findings
Jquery-ui-dialog 1.8.2 has 1 vulnerability
Vulne ra bility title Ris k C VE U RLs
https://github.com/jquery/api.jqueryui.com/issues/281
XSS Vulnerability on closeText option High CVE-2016-7103 https://nvd.nist.gov/vuln/detail/CVE-2016-7103
https://snyk.io/vuln/npm:jquery-ui:20160721
Details
Ris k de s c ription:
The JavaScript component Jquery-ui-dialog 1.8.2 found in https://www.liiklusvalve.ee/Scripts/jquery-ui-1.8.2.custom.min.js has 1 vulnerability
Depending on the specific details of the vulnerabilities, an attacker could exploit them to affect the confidentiality and the integrity of the
application's data or to affect the availability of the entire system.
Re c omme nda tion:
Upgrade the affected component to the latest version.
SQL Injection
Vulne ra ble Vulne ra ble
M e thod A tta c k Ve c tor
Pa g e Pa ra me te r
/Users/Tara/I https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=%2Fsitemap.xml%27+AND+
ndex
ReturnUrl GET
%271%27%3D%271%27+--+
Details
Ris k de s c ription:
The risk exists that an attacker gains unauthorized access to the information from the database of the application. He could extract information
such as: application usernames, passwords, client information and other application specific data.
Re c omme nda tion:
We recommend implementing a validation mechanism for all the data received from the users.
The best way to protect against SQL Injection is to use prepared statements for every SQL query performed on the database.
Otherwise, the user input can also be sanitized using dedicated methods such as: mysqli_real_escape_string.
More information about SQL injection and the way to protect against this attack can be found here:
https://www.owasp.org/index.php/SQL_Injection
https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.md
File Inclusion
1/6
Vulne ra ble Pa g e Vulne ra ble Pa ra me te r M e thod A tta c k Ve c tor
/Users/Tara/Index ReturnUrl GET https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=Index
Details
Ris k de s c ription:
The risk exists that an attacker can manipulate the affected parameter in order to load or execute any locally or remote stored file.
This could lead to reading arbitrary files, code execution, Cross-Site Scripting, denial of service, sensitive information disclosure.
Re c omme nda tion:
The most effective solution to eliminate file inclusion vulnerabilities is to avoid passing user-submitted input to any filesystem/framework API. If
this is not possible the application can maintain a white list of files, that may be included by the page, and then use an identifier (for example the
index number) to access to the selected file. Any request containing an invalid identifier has to be rejected, in this way there is no attack surface
for malicious users to manipulate the path.
References:
https://www.owasp.org/index.php/Testing_for_Local_File_Inclusion
https://www.owasp.org/index.php/Testing_for_Remote_File_Inclusion
Jquery 1.4.4 has 4 vulnerabilities
Vulne ra bility title Ris k C VE U RLs
CVE- https://nvd.nist.gov/vuln/detail/CVE-2011-4969
XSS with location.hash Medium 2011- http://research.insecurelabs.org/jquery/test/
4969 https://bugs.jquery.com/ticket/9521
CVE- http://bugs.jquery.com/ticket/11290
Selector interpreted as HTML Medium 2012- https://nvd.nist.gov/vuln/detail/CVE-2012-6708
6708 http://research.insecurelabs.org/jquery/test/
https://github.com/jquery/jquery/issues/2432
CVE-
http://blog.jquery.com/2016/01/08/jquery-2-2-and-1-12-released/
3rd party CORS request may execute Medium 2015-
https://nvd.nist.gov/vuln/detail/CVE-2015-9251
9251
http://research.insecurelabs.org/jquery/test/
jQuery before 3.4.0, as used in Drupal,
CVE- https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/
Backdrop CMS, and other products,
Low 2019- https://nvd.nist.gov/vuln/detail/CVE-2019-11358
mishandles jQuery.extend(true, {}, ...)
11358 https://github.com/jquery/jquery/commit/753d591aea698e57d6db58c9f722cd0808619b1b
because of Object.prototype pollution
Details
Ris k de s c ription:
The JavaScript component Jquery 1.4.4 found in https://www.liiklusvalve.ee/Scripts/jquery-1.4.4.min.js has 4 vulnerabilities
Depending on the specific details of the vulnerabilities, an attacker could exploit them to affect the confidentiality and the integrity of the
application's data or to affect the availability of the entire system.
Re c omme nda tion:
Upgrade the affected component to the latest version.
Server software and technology found
S oftwa re / Ve rs ion C a te g ory
IIS 7.5 Web Servers
Microsoft ASP.NET 4.0.30319 Web Frameworks
Google Analytics UA Analytics
jQuery 1.4.4 JavaScript Frameworks
jQuery UI 1.8.2 JavaScript Frameworks
Details
2/6
Ris k de s c ription:
An attacker could use this information to mount specific attacks against the identified software type and version.
Re c omme nda tion:
We recommend you to eliminate the information which permit the identification of software platform, technology, server and operating system:
HTTP server headers, HTML meta information, etc.
More information about this issue:
https://www.owasp.org/index.php/Fingerprint_Web_Server_(OTG-INFO-002).
Missing HTTP security headers
H T T P S e c urity H e a de r H e a de r Role S ta tus
X-Frame-Options Protects against Clickjacking attacks Not set
Strict-Transport-Security Protects against man-in-the-middle attacks Not set
X-Content-Type-Options Prevents possible phishing or XSS attacks Not set
Details
Ris k de s c ription:
Because the X-Frame-Options header is not sent by the server, an attacker could embed this website into an iframe of a third party website. By
manipulating the display attributes of the iframe, the attacker could trick the user into performing mouse clicks in the application, thus
performing activities without user's consent (ex: delete user, subscribe to newsletter, etc). This is called a Clickjacking attack and it is described
in detail here:
https://www.owasp.org/index.php/Clickjacking
The HTTP Strict-Transport-Security header instructs the browser not to load the website via plain HTTP connection but always use HTTPS. Lack of
this header exposes the application users to the risk of data theft or unauthorized modification in case the attacker implements a man-in-the-
middle attack and intercepts the communication between the user and the server.
The HTTP X-Content-Type-Options header is addressed to Internet Explorer browser and prevents it from reinterpreting the content of a web
page (MIME-sniffing) and thus overriding the value of the Content-Type header). Lack of this header could lead to attacks such as Cross-Site
Scripting or phishing.
Re c omme nda tion:
We recommend you to add the X-Frame-Options HTTP response header to every page that you want to be protected against Clickjacking
attacks.
More information about this issue:
https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_Sheet
We recommend setting the Strict-Transport-Security header.
More information about this issue:
https://www.owasp.org/index.php/HTTP_Strict_Transport_Security_Cheat_Sheet
We recommend setting the X-Content-Type-Options header to "X-Content-Type-Options: nosniff".
More information about this issue:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options
Incomplete or No Cache-control and Pragma HTTP Header Set
A ffe c te d ite ms E vide nc e
https://www.liiklusvalve.ee/Users/Tara private
https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=%2frobots.txt private
https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=%2fsitemap.xml private
Details
Ris k de s c ription:
The cache-control and pragma HTTP header have not been set properly or are missing allowing the browser and proxies to cache content.
Re c omme nda tion:
Whenever possible ensure the cache-control HTTP header is set with no-cache, no-store, must-revalidate; and that the pragma HTTP header is
set with no-cache.
3/6
https://www.owasp.org/index.php/Session_Management_Cheat_Sheet#Web_Content_Caching
Cookie Without Secure Flag
A ffe c te d ite ms E vide nc e
https://www.liiklusvalve.ee/Users/Tara Set-Cookie: ASP.NET_SessionId
https://www.liiklusvalve.ee/Users/Tara/Index?ReturnUrl=%2frobots.txt Set-Cookie: ASP.NET_SessionId
Details
Ris k de s c ription:
A cookie has been set without the secure flag, which means that the cookie can be accessed via unencrypted connections.
Re c omme nda tion:
Whenever a cookie contains sensitive information or is a session token, then it should always be passed using an encrypted channel. Ensure
that the secure flag is set for cookies containing such sensitive information.
http://www.owasp.org/index.php/Testing_for_cookies_attributes_(OWASP-SM-002)
No vulnerabilities found for server-side software
Communication is secure
Robots.txt file not found
No security issue found regarding client access policies
No password input found (clear-text submission test)
No sensitive files found
No interesting files were found
No server information disclosure was found
No server software was identified
No administration consoles were found
Spider results: 6 dynamic URLs of total 11 URLs crawled
ID M E T H OD U RL PA RA M S
1 GET /Users/Tara/Index ReturnUrl=%2frobots.txt
2 GET /Users/Tara/SetLanguage language=en
3 GET /Users/Tara/Authorize language=en
4 GET /Users/Tara/SetLanguage language=et
5 GET /Users/Tara/Index ReturnUrl=%2fsitemap.xml
6 GET /Users/Tara/Authorize isPublicRequest=False
4/6
No Cross-Site Scripting vulnerabilities found.
No OS Command Injection vulnerabilities found.
5/6
Scan coverage information
List of tests performed (21/ 21)
Fingerprinting the server software and technology...
Checking for vulnerabilities of server-side software...
Analyzing HTTP security headers...
Checking for secure communication...
Checking robots.txt file...
Checking client access policies...
Checking for clear-text submission of passwords (quick scan)...
Checking for Jquery vulnerabilities...
Checking for Jquery-ui-dialog vulnerabilities...
Searching for sensitive files...
Checking for interesting files...
Checking for information disclosure...
Checking for software identification...
Checking for administration consoles...
Spidering target...
Scanning for XSS vulnerabilities...
Scanning for SQL Injection vulnerabilities...
Scanning for File Inclusion vulnerabilities...
Scanning for OS Command Injection vulnerabilities...
Scanning for Incomplete or No Cache-control and Pragma HTTP Header Set vulnerabilities...
Scanning for Cookie Without Secure Flag vulnerabilities...
Scan parameters
Website URL: https://www.liiklusvalve.ee
Scan type: Full_new
Authentication: False
6/6
JQuery versiooniuuenduse pakkumine LJVIS
serveris kriitiliste haavatavuste parandamiseks ja
süsteemi uuendamiseks
Majandus -ja Kommunikatsiooniministeerium | Verner Eiber 20.03.2020
Esitame pakkumise Majandus-ja Kommunikatsiooniministeeriumile (MKM) JQuery
uuendamiseks LJVIS serveris, mille eesmärgiks on uuendada LJVIS serveris JQuery
versioon uue JQuery versiooni vastu (v 3.4.1). Tulenevalt JQuery
versioonivahetusest viiakse LJVIS tarkvara vastavusse JQuery uuema versiooni
nõuetega.
1) Uuendame JQuery versiooni;
2) Testime funktsionaalsust;
3) Kirjutame ümber ja faktoorime lisatud failid.
▪ TÖÖDE MAHT JA MAKSUMUS
Meie hinnangul kulub tööde teostamiseks kuni 240 tundi maksumusega kuni
9600 eurot. Tööde loetelu on toodud allolevas tabelis.
TÖÖDE LOETELU AEG MAKSUMUS
(H)
JQuery uuendamine ja vana versiooni eemaldamine. 40 1600
Javascript failide uuendamine
C:\dev\ljvis\Ljvis\Scripts\analysis.js 4 160
C:\dev\ljvis\Ljvis\Scripts\background-search.js 4 160
C:\dev\ljvis\Ljvis\Scripts\company-address.js 4 160
C:\dev\ljvis\Ljvis\Scripts\controlcard.js 4 160
C:\dev\ljvis\Ljvis\Scripts\dialog-link.js 4 160
C:\dev\ljvis\Ljvis\Scripts\excelexport.js 4 160
C:\dev\ljvis\Ljvis\Scripts\form2infringement.js 4 160
C:\dev\ljvis\Ljvis\Scripts\form-binder.js 4 160
C:\dev\ljvis\Ljvis\Scripts\form-scripts.js 4 160
C:\dev\ljvis\Ljvis\Scripts\loader-icon.js 4 160
1
TÖÖDE LOETELU AEG MAKSUMUS
(H)
C:\dev\ljvis\Ljvis\Scripts\mobileauth.js 4 160
C:\dev\ljvis\Ljvis\Scripts\public-requests.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site-login.js 4 160
C:\dev\ljvis\Ljvis\Scripts\erru\ccl.js 4 160
C:\dev\ljvis\Ljvis\Scripts\erru\cgr.js 4 160
C:\dev\ljvis\Ljvis\Scripts\erru\rsi.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\partials\form-control.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\print\dd-print.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\print\print.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\print\rcc-print.js 4 160
C:\dev\ljvis\Ljvis\Scripts\site\print\rw-print.js 4 160
Suuremahuliste Javascript failide uuendamine
C:\dev\ljvis\Ljvis\Scripts\formfunctions.js 14 560
C:\dev\ljvis\Ljvis\Scripts\infringement.js 14 560
C:\dev\ljvis\Ljvis\Scripts\unitedform.js 14 560
Javascript pistikprogrammide uuendamine 20tk 74 2960
PAKKUMUSE MAHT KOKKU 240 9600
▪ HINNAPAKKUMINE EI SISALDA
Lähteülesandele oli lisatud MKM-i „LJVIS haavatavuste raport“.
Automaatne testimistarkvara hindab rakendusi sisulist analüüsi tegemata. Samuti
on erinevate automaattestimisvahendite hindamistulemused erinevad.
Automaathindamisvahendid lähtuvad üksnes automaatsetest parameetritest.
Kaardistasime ja hindasime LJVIS raportis esinenud vead allolevas tabelis. Suure
tõenäosusega kaovad JQuery uuendamisel tabelis rohelise värviga märgitud vead
raportist. Kollasega märgitud read ei ole meie hinnangul LJVIS-i vaates
relevantsed. Käesolev hinnapakkumine sisaldab JQuery uuendamist LJVIS
süsteemis, vigade kadumist raportis ei saa pakkumise skoobis tehtava töö käigus
garanteerida.
2
Raportis sisalduva
kriitilise või keksmise
tähtsusega vea sisu Vea parandamise ja Tulemus Jquery
(kokku 4 veatüüpi) relevantsuse hinnang versiooni uuendamisel
Tarkvara uuendamisega
Query-ui-dialog 1.8.2 haavatavus tõenäoliselt
vulnerability Vajab Jquery uuendamist kaob
LJVIS-i vaates ei ole viga
relevantne, sest LJVIS
süsteemis ei kasutata
tagastatavat URL-i, vaid
lisatakse automaatselt Ei saa garanteerida vea
SQL süst (SQL Injection) ASP.NET MVC-ga kadumist raportist
LJVIS-i vaates ei ole viga
relevantne, sest LJVIS
süsteemis ei kasutata
tagastatavat URL-i, vaid
Faili kaasamine (File lisatakse automaatselt Ei saa garanteerida vea
Inclusion) ASP.NET MVC-ga kadumist raportist
Tarkvara uuendamisega
haavatavus tõenäoliselt
Jquery 1.4.4 vulnerabilities Vajab Jquery uuendamist kaob
Pakkumises toodud tunnihind on tulenevalt raamlepingust 40,00 eurot.
▪ TÖÖDE AJAKAVA
▪ JQuery uuendamine on võimalik teostada 3 kuu jooksul.
Pakkumine on koostatud ja allkirjastatud digitaalselt.
Allkiri:
______________________
Eero Tohver
Uptime OÜ
3
Liiklusjärelevalve infosüsteemi JQuery versiooniuuendus ja
kriitiliste turvavigade parandamine
Lähteülesanne
1. Liiklusjärelevalve infosüsteemi (edaspidi LJVIS) serveris on kasutatud JavaScripti teek JQuery, mille
viimane uuendamine toimus 2012. aastal. Tulenevalt aegunud JQuery versioonist on LJVIS
tarkvarasse tekkinud turvaaugud, millest Website Vulnerability Scanner Reporti põhjal mitmed on
kõrge riskiga, võimaldades SQL ründe korral manipuleerida andmebaasi andmetega.
2. Arendustöö käigus on vaja teha järgnevad tööd:
2.1. JQuery versiooniuuendus, mille käigus võetakse kasutusele JQuery uusim versioon (3.4.1);
2.2. tulenevalt JQuery versioonivahetusest viiakse LJVIS tarkvara vastavusse JQuery uuema
versiooni nõuetega;
2.3. parandatakse LJVIS tarkvaras tuvastatud kriitilised ja keskmise turvariskiga turvavead
vastavalt turvavigade skaneerimise raportile.
3. Töötundide arvestus toimub reaalselt kulunud töötundide alusel. Arendustöö töötunnid
fikseeritakse töö üleandmis-vastuvõtu akti alusel. Maksimaalne töötundide arv on 240 töötundi.
Arendustööde hankeleping nr. 4/1.9-21/20-110-1
Tallinnas, {regDateTime}
Majandus- ja Kommunikatsiooniministeerium, registrikood 70003158, asukohaga Suur-
Ameerika 1, Tallinn 10122, mida esindab põhimääruse alusel kantsler Ando Leppiman
(edaspidi Tellija)
ja
Uptime OÜ, registrikood 10308733, asukoht Pärnu mnt 158/2, Tallinn 11317, mida esindab
juhatuse liige Eero Tohver (edaspidi Täitja), keda edaspidi nimetatakse üheskoos ka Pooled ja
eraldi Pool,
sõlmivad käesoleva hankelepingu (edaspidi Leping) alljärgnevas:
1. Üldsätted ja Lepingu alus
1.1. Leping sõlmitakse Tellija korraldatud lihthanke "Liiklusjärelevalve infosüsteemi
arendus- ja hooldusteenus 2“ (viitenumber 202118) tulemusena 04.12.2018. a sõlmitud
raamlepingu 1.9-21/18-429-1 (edaspidi Raamleping) ja 08.01.2020 sõlmitud
Raamlepingu lisa 4 alusel.
1.2. Lepingu dokumendid koosnevad Raamlepingust, Lepingust, Lepingu lisadest ning
Lepingu võimalikest muudatustest, milles lepitakse kokku pärast Lepingule
allakirjutamist.
1.3. Pooltel on õigus Lepingu muutmises kokku leppida üksnes Raamlepingus sätestatud
tingimuste piires, v.a juhul, kui muutmise tulemusena on Lepingu tingimused Tellija
jaoks Raamlepingus sätestatud tingimustest soodsamad.
1.4. Käesoleva Lepingu allakirjutamise hetkel on Lepingule lisatud:
Lisa 1 – Lähteülesanne;
Lisa 2 – Turvavigade skaneerimise raport;
Lisa 3 – Pakkumus.
2. Lepingu objekt, Töö teostamise tähtaeg ja maksumus
2.1. Lepingu objektiks on liiklusjärelevalve infosüsteemis JavaScripti teegi JQuery versiooni
uuendamine ja tuvastatud kriitiliste ning keskmise turvariskiga turvavigade
parandamine (edaspidi Töö) vastavalt Lepingu Lisadele 1, 2 ja 3.
2.2. Täitja kohustub Töö üle andma hiljemalt kolme kuu jooksul peale lepingu sõlmimist.
2.3. Lepingu maht on kuni 240 töötundi ja Lepingu maksumus käibemaksuta on kuni 9600
eurot.
2.4. Töötundide arvestus toimub reaalselt kulunud töötundide alusel. Töö teostamiseks
kulunud töötunnid fikseeritakse töö üleandmise-vastuvõtmise aktis.
3. Lepingu eseme üleandmine ja vastuvõtmine
Töö antakse Tellijale üle vastavalt Raamlepingu punktidele 6.2 ja 6.3.
-1-
4. Poolte volitatud esindajad
4.1. Tellija volitatud esindaja Lepingu tingimuste täitmisel, kontrollimisel ja Töö
vastuvõtmisel on Verner Eiber (telefon +372 6256 496, e-post
[email protected]).
4.2. Täitja volitatud esindaja Lepingu tingimuste täitmisel, kontrollimisel ja Töö üleandmisel
on Ken Kaljas (telefon +372 565 2288, e-post
[email protected]).
4.3. Juhul, kui Tellija või Täitja asendab oma esindaja teisega, teatab ta sellest teisele Poolele
viivitamatult kirjalikult.
Poolte allkirjad:
Tellija: Täitja:
Majandus- ja Kommunikatsiooni- Uptime OÜ
ministeerium
Ando Leppiman Eero Tohver
Kantsler Juhatuse liige
-2-