Skip to content
This repository was archived by the owner on Jul 22, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
d816357
Dockerized the Scanner
Lednerb Nov 23, 2017
52bb214
Added docker start info
Lednerb Nov 23, 2017
199a687
Implemented the siwecos interface for the DOMXSS part.
Lednerb Dec 20, 2017
e312429
Implemented SIWECOS Interface and adjusted PHPUnit Tests.
Lednerb Dec 20, 2017
93af752
Merge pull request #1 from SIWECOS/siwecos-interface
Lednerb Dec 20, 2017
4b3320f
ApiController Modified
Weegy Jan 26, 2018
d1a68c8
Modified Callback Procedure
Weegy Feb 3, 2018
c35b86f
Added original header information to the generated JSON-Response.
Lednerb Feb 28, 2018
21efa0e
Removed unused code.
Lednerb Feb 28, 2018
c0c5967
Merge pull request #3 from SIWECOS/development
Lednerb Feb 28, 2018
fe7db46
Updated and improved readme.md
Lednerb Feb 28, 2018
0ced0f3
Fixed issue with multiple header analysis.
Lednerb Mar 6, 2018
a4cb823
Implemented header average rating. Changed scoreType to warning.
Lednerb Mar 13, 2018
2877845
Fixed no HTTP-Response errors. Fixes #5
Lednerb Mar 16, 2018
1efc97a
Ordered and checked Placeholders.
Lednerb Mar 17, 2018
b14e3bd
Fixed logical issue calculating the score. Fixes #6.
Lednerb Mar 20, 2018
b5c2611
Changed scoreType to bonus. Closes #8.
Lednerb Mar 20, 2018
e5a0583
Modified CSPRating. Closes #9.
Lednerb Mar 20, 2018
fc8e0f5
Removed caching. Fixes #12.
Lednerb Mar 21, 2018
a1afcf9
Encoded HEADER for correct json format. Related to #14.
Lednerb Mar 26, 2018
7553094
Bugfixes
Weegy Apr 6, 2018
55ee49c
Bugfixes
Weegy Apr 6, 2018
c99e397
Bugfixes
Weegy Apr 6, 2018
ff3f1fc
Fixing #14 and #16
Lednerb Apr 12, 2018
501b9ed
Removed unused imports.
Lednerb May 16, 2018
cff7dcd
Specified php version
Lednerb May 16, 2018
45e3620
Updated to Laravel 5.5.*
Lednerb May 16, 2018
97b9ac8
Adjusted Ratings for the API. Fixes #17 and #19.
Lednerb May 16, 2018
90c5021
Fixed #18. Regex search.
Lednerb May 16, 2018
580412d
Fixed #24 and #25. Improved tests.
Lednerb Aug 6, 2018
b3d2c0f
Fixed Rating based on the occurence of 'nosniff' to require it.
Lednerb Aug 6, 2018
2f8539f
Implemented #27. Reduced docker image size and complexity. Added cadd…
Lednerb Aug 7, 2018
2c96751
Fixed #31
Lednerb Aug 9, 2018
789acc4
Implemented #26; Added test for missing 'default-src' directive.
Lednerb Aug 10, 2018
ac48a27
Fixed DOMXSS Errors.
Lednerb Aug 14, 2018
8fd1a13
Deactivated score for DOMXSS.
Lednerb Aug 14, 2018
eb2432f
Added vessel for development purposes.
Lednerb Aug 21, 2018
a6d94f2
Fixed incompatibility with PHP 7.2
Lednerb Aug 21, 2018
5264e18
Improved and restructured the DOMXSS-Scanner. Implements #35
Lednerb Aug 23, 2018
68697f6
Adjusted placeholders and readme according the changes from #35.
Lednerb Aug 23, 2018
3f434aa
Fixed tests according to changed placeholders.
Lednerb Aug 23, 2018
11553d4
Introduced a CSPParser to validate and simplify the CSP handling. Fix…
Lednerb Aug 25, 2018
2a0bcb1
Simplified CSPRating tests via CSPParser.
Lednerb Aug 25, 2018
1f888ae
Fixed search for legacy headers.
Lednerb Aug 25, 2018
3ce5b45
Merge pull request #43 from SIWECOS/csp-fixing
Lednerb Aug 25, 2018
5381c08
Implemented changes according to #39.
Lednerb Sep 6, 2018
8d2a274
Merge pull request #44 from SIWECOS/fix-global-hasError-#39
Lednerb Sep 6, 2018
5c12ae3
Implemented Semantic Versioning. Closes #30
Lednerb Sep 7, 2018
b90a058
Merge pull request #45 from SIWECOS/implement-semantic-versioning
Lednerb Sep 7, 2018
5e02b48
Removed unused imports and methods.
Lednerb Sep 11, 2018
e755cd6
Upgraded voku/simple_html_dom from version 1.5 to 4.1
Lednerb Sep 12, 2018
56ecea1
Fixed some ContentTypeRating bugs with meta-Tags only.
Lednerb Sep 12, 2018
c676124
Fixed rating bug and clarified #41.
Lednerb Sep 12, 2018
9699c7e
Released v1.0.1
Lednerb Sep 12, 2018
06e9c81
Fixed several bugs, added more tests.
Lednerb Sep 13, 2018
f67e4d4
Simplified callbackUrl test.
Lednerb Sep 13, 2018
58166f3
Fixed potential bug when displaying the VERSION in the report
Lednerb Sep 14, 2018
75816f6
Made callbackurl parameter optional, added further tests for correct …
Lednerb Sep 14, 2018
e60a4ad
Refactored getMockedGuzzleClient
Lednerb Sep 14, 2018
9a49a82
Refactored all TranslateableMessages and fixed #46.
Lednerb Sep 14, 2018
14c6f75
Apply fixes from StyleCI
Lednerb Sep 14, 2018
5661001
Apply fixes from StyleCI
Lednerb Sep 14, 2018
07d18be
Merged fix-#46 into development.
Lednerb Sep 14, 2018
df3122e
Apply fixes from StyleCI
Lednerb Sep 14, 2018
a32081f
Added ReferrerPolicyRating. Implements #29.
Lednerb Oct 4, 2018
575d465
Apply fixes from StyleCI
Lednerb Oct 4, 2018
26414b6
Added php7-simplexml to Dockerfile
Weegy Oct 8, 2018
0ddcd4e
Removed unused files and upgraded to Laravel 5.6
Lednerb Oct 8, 2018
b1cc713
Upgraded to Laravel 5.7
Lednerb Oct 8, 2018
8342554
Apply fixes from StyleCI
Lednerb Oct 8, 2018
d9a880d
Merged logs to errorlog so all logs can be found via docker logs
Lednerb Oct 8, 2018
54f95fb
Merge branch 'upgrade-laravel' of github.com:SIWECOS/HSHS-DOMXSS-Scan…
Lednerb Oct 8, 2018
8cd4afd
Merge pull request #53 from SIWECOS/upgrade-laravel
Lednerb Oct 8, 2018
55d1a96
Fixed #51 by reverting earlier changes.
Lednerb Oct 8, 2018
aca31d4
Fixed scans for domains with umlauts and speedUp the phpunit tests.
Lednerb Oct 10, 2018
2f911a9
Apply fixes from StyleCI
Lednerb Oct 10, 2018
0e0d677
Released version 1.2.0
Lednerb Oct 10, 2018
0349f99
Released version 1.2.0
Lednerb Oct 10, 2018
c7ccd81
Merge branch 'development' of github.com:SIWECOS/HSHS-DOMXSS-Scanner …
Lednerb Oct 10, 2018
f23bc3b
Ignore Laradock development environment.
Lednerb Oct 11, 2018
f097b1c
Fixed deprecation error in PHP 7.2
Lednerb Oct 11, 2018
097eeba
Apply fixes from StyleCI
Lednerb Oct 11, 2018
e280eb8
Fixed parent constructor call to enable overwriting variables.
Lednerb Oct 17, 2018
1bbc9e2
Implemented SetCookieRating. Closes #32
Lednerb Oct 17, 2018
c2482a7
Apply fixes from StyleCI
Lednerb Oct 17, 2018
626830d
Releases version 1.3.0
Lednerb Oct 17, 2018
702a3ec
Added missing php dependency.
Lednerb Oct 17, 2018
41bb953
Releases version 1.3.0
Lednerb Oct 17, 2018
70eb4a9
Updated Readme, fixed small issue. Released Version 1.3.1
Lednerb Oct 18, 2018
9f9b740
Implemented correct callback logic via Jobs.
Lednerb Oct 27, 2018
0db0bae
Apply fixes from StyleCI
Lednerb Oct 27, 2018
4701fad
Fixed DomxssScanJob
Lednerb Oct 27, 2018
78d0da7
Apply fixes from StyleCI
Lednerb Oct 27, 2018
19b74b5
Merge pull request #40 from SIWECOS/development
Lednerb Nov 15, 2018
f6a9ddf
Implemented feature to set custom userAgent and refactored code.
Lednerb Nov 16, 2018
d1046f1
Apply fixes from StyleCI
Lednerb Nov 16, 2018
1dfe21f
Merge pull request #56 from SIWECOS/enhancement-userAgent-as-Paramete…
Lednerb Nov 16, 2018
598dc52
Merge pull request #57 from SIWECOS/development
Lednerb Nov 22, 2018
578a22b
Add Travis files
Weegy Feb 1, 2019
4700cb0
Fix deploy phase
Weegy Feb 1, 2019
5e07845
Fixed typo.
Lednerb Feb 11, 2019
f9dc672
Merge pull request #60 from SIWECOS/develop
Lednerb Feb 12, 2019
24a4d5a
Fix Travis
Weegy Feb 12, 2019
934776d
Merge pull request #61 from SIWECOS/develop
Lednerb Feb 12, 2019
14efe06
Fixed headings
Lednerb Mar 20, 2019
b539436
Merge pull request #62 from SIWECOS/develop
Lednerb Mar 20, 2019
78348fc
Fixed deployment issue.
Lednerb Mar 31, 2019
ac52c7c
Merge pull request #63 from SIWECOS/develop
Lednerb Mar 31, 2019
79df593
Fixed building latest branch.
Lednerb Mar 31, 2019
749bb51
Merge pull request #64 from SIWECOS/develop
Lednerb Mar 31, 2019
360c398
Removed non-production related dependencies.
Lednerb Apr 3, 2019
1282a2e
Returning correct json response.
Lednerb Apr 4, 2019
3fc0748
Fixed TranslateableMessage placeholder functionality to apply SIWECOS…
Lednerb Apr 4, 2019
4af3291
Removed chmod.
Lednerb Apr 4, 2019
0b5d5a0
Changed Dockerfile and bumped version to 1.5.1
Lednerb Apr 4, 2019
dac7726
Merge branch 'master' into develop
Lednerb Apr 4, 2019
32b4fe2
Fixed permissions.
Lednerb Apr 4, 2019
b4a8b34
Merge branch 'develop' of github.com:SIWECOS/HSHS-DOMXSS-Scanner into…
Lednerb Apr 4, 2019
9a765f8
Fixed issue with invalid Set-Cookie header
Lednerb Apr 5, 2019
9b24264
Fixed timeout issues and enhanced speed.
Lednerb Apr 5, 2019
47639db
Released version 1.5.2
Lednerb Apr 5, 2019
1fea261
Fixed typo.
Lednerb Apr 5, 2019
ddeda43
Changed ReferrerPolicyRating translation strings.
Lednerb Apr 10, 2019
638965c
Bumped Version to 1.5.4
Lednerb Apr 10, 2019
c6bbbee
Modernized travis deployment.
Lednerb Apr 10, 2019
342526e
Enabled option to publish version tags.
Lednerb Apr 10, 2019
e4b455a
Removed unnecessary files.
Lednerb Apr 10, 2019
0dbff3f
Prepare for shared redis instance. See SIWECOS/docker-compose-scanner…
Lednerb May 1, 2019
01e45fa
Fix missing use
Lednerb May 1, 2019
79ff4e6
Adjust TranslatableMessage to new defined format
Lednerb May 7, 2019
50f2b28
Changed docker base image and adjusted routes for caching
Lednerb May 7, 2019
309a03d
Released version 1.6.0
Lednerb May 7, 2019
e43d218
Removed api rate limit. Closes #70
Lednerb May 7, 2019
17dab40
Disable guzzle/curl exception logging
Lednerb May 17, 2019
4e7e39f
Updated travis config to enable staging builds.
Lednerb Jun 29, 2019
53fcc20
Changed scoreType. Fix #72
Lednerb Jul 16, 2019
81655ba
Add required texts
Aug 27, 2019
5c5da6f
Fixed directive output.
Lednerb Aug 29, 2019
df649fc
Adjusted scoreType according specs. Fixes SIWECOS/webapp-freescan#2
Lednerb Aug 30, 2019
1cf21e3
Fixed placeholder usage.
Lednerb Aug 30, 2019
97a490b
Merge pull request #74 from SIWECOS/required-texts
Lednerb Aug 30, 2019
2edc928
Merge pull request #66 from SIWECOS/develop
Lednerb Aug 30, 2019
aa278aa
Fix TranslatableMessage format violation causing BLA to crash.
Lednerb Aug 30, 2019
5ba8ab6
Merge branch 'master' into develop
Lednerb Aug 30, 2019
ce2f26d
Merge pull request #75 from SIWECOS/develop
Lednerb Aug 30, 2019
b787478
Updated dependencies.
Lednerb Sep 5, 2019
80a2600
Simplified CSP Parsing
Lednerb Sep 5, 2019
faac7c4
Added test for valueDirectives
Lednerb Sep 5, 2019
2389a8f
Updated list of allowedDirectives
Lednerb Sep 5, 2019
17671b2
Merge branch 'develop' of github.com:SIWECOS/HSHS-DOMXSS-Scanner into…
Lednerb Sep 5, 2019
8d4191a
Bumped version to 1.6.1
Lednerb Sep 5, 2019
9054393
Merge branch 'master' into develop
Lednerb Sep 5, 2019
319f829
Merge pull request #76 from SIWECOS/develop
Lednerb Sep 5, 2019
71b76df
Adjust rating to not vulnerable if no script tags were found.
Lednerb Nov 5, 2019
0f278a5
Fixed tests for previous score adjustment.
Lednerb Nov 5, 2019
4b2ff34
Updated dependencies.
Lednerb Nov 5, 2019
2a17314
Updated dependencies.
Lednerb Nov 13, 2019
4f3d0b3
Fixed #78
Lednerb Nov 13, 2019
99e4d90
Merge branch 'master' into develop
Lednerb Nov 13, 2019
63fab45
Merge pull request #79 from SIWECOS/develop
Lednerb Nov 13, 2019
3b3d565
Updated dependencies.
Lednerb Nov 23, 2019
f542497
Fixed #81
Lednerb Nov 23, 2019
c1866ef
Fixed #80
Lednerb Nov 23, 2019
942046a
Restructured SetCookie-Rating. Fixes #67.
Lednerb Nov 23, 2019
728707f
Merge pull request #82 from SIWECOS/fix-#67
Lednerb Nov 25, 2019
47f164c
Merge branch 'master' into develop
Lednerb Nov 25, 2019
5e74e8b
add new header
SniperSister Jun 23, 2021
9c4b7a6
Merge pull request #85 from SIWECOS/feature/add-trusted-types-require…
SniperSister Jun 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.git
database/database.sqlite
app/storage/
.env
38 changes: 10 additions & 28 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,32 +1,14 @@
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_ENV=production
APP_KEY=base64:I8dXfAzV1sKdq5hSygF0kxduUOZjPYk7V2d7HtiTxik=
APP_DEBUG=false
APP_LOG_LEVEL=info
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
LOG_CHANNEL=stderr

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
DB_CONNECTION=redis

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=
BROADCAST_DRIVER=log
CACHE_DRIVER=redis
SESSION_DRIVER=redis
QUEUE_DRIVER=redis
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Homestead.json
Homestead.yaml
.env
.phpstorm.meta.php
_ide_helper.php
_ide_helper.php
laradock/
43 changes: 43 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
language: php

php:
- "7.2"

cache:
directories:
- "./vendor"

dist: trusty

before_script:
- composer install --no-interaction

script:
- ./vendor/bin/phpunit
- docker build -t hshs-domxss-scanner .

before_deploy:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

deploy:
- provider: script
skip_cleanup: true
on:
branch: develop
script: >-
docker tag hshs-domxss-scanner siwecos/hshs-domxss-scanner:develop &&
docker push siwecos/hshs-domxss-scanner:develop
- provider: script
skip_cleanup: true
on:
branch: master
script: >-
docker tag hshs-domxss-scanner siwecos/hshs-domxss-scanner:latest &&
docker push siwecos/hshs-domxss-scanner:latest
- provider: script
skip_cleanup: true
on:
tags: true
script: >-
docker tag hshs-domxss-scanner siwecos/hshs-domxss-scanner:$TRAVIS_TAG &&
docker push siwecos/hshs-domxss-scanner:$TRAVIS_TAG
122 changes: 122 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.6.0] - 2019-05-07
### Changed
- Output format to new [defined standard](https://github.com/SIWECOS/siwecos-core-api/tree/develop#translatablemessage-object)
- Docker base image to `siwecos/dockered-laravel:7.2`


## [1.5.5] - 2019-04-10
### Changed
- Travis workflow

## [1.5.4] - 2019-04-10
### Changed
- Translation string for ReferrerPolicy `DIRECTIVE_SET`

## [1.5.3] - 2019-04-05
### Fixed
- Fixed typo

## [1.5.2] - 2019-04-05
### Fixed
- Timeout issues
- Crash when the `Set-Cookie` header was invalid

## [1.5.1] - 2019-04-04
### Added
- Correct callback logic via Job implementation.
- Feature to use a custom `userAgent`

### Fixed
- Several issues with DOMXSS part
- Documentation
- Deployment via Travis
- Returning correct json responses
- `TranslatableMessage` scheme
- Minimized docker image

## [1.3.1] - 2018-10-18
### Fixed
- Fixed Set-Cookie name

### Changes
- Updated README for Set-Cookie headers.


## [1.3.0] - 2018-10-17
### Added
- Implemented SetCookieRating #32

### Fixed
- Fixed deprecation error in PHP 7.2
- Fixed parent constructor call.
- Fixed missing php dependency in Dockerfile


## [1.2.1] - 2018-10-11
### Fixed
- Fixed deprecation error `INTL_IDNA_VARIANT_2003 is deprecated`. <br>
[Further Information](https://bugs.php.net/bug.php?id=75609)


## [1.2.0] - 2018-10-10
### Fixed
- Fixed #51

### Added
- Support for domains with umlauts

### Changed
- Upraded to Laravel 5.7
- SpeedUp PHPUnit tests


## [1.1.0] - 2018-10-01
### Added
- `Referrer-Policy` header rating


## [1.0.2] - 2018-09-14
### Fixed
- Bugs in ContentTypeRating when only the `meta` tags are set.
- Rating of sources and sinks with comments (#41).

### Changed
- Upgraded `voku/simple_html_dom` to actual version.


## [1.0.1] - 2018-09-12
### Fixed
- Bugs in ContentTypeRating when only the `meta` tags are set.
- Rating of sources and sinks with comments (#41).

### Changed
- Upgraded `voku/simple_html_dom` to actual version.


## [1.0.0] - 2018-09-07
### Added
- CHANGELOG.md and semantic versioning

[Unreleased]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.6.0..develop
[1.6.0]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.5.5...1.6.0
[1.5.5]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.5.4...1.5.5
[1.5.4]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.5.3...1.5.4
[1.5.3]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.5.2...1.5.3
[1.5.2]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.5.1...1.5.2
[1.5.1]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.3.1...1.5.1
[1.3.1]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.3.0...1.3.1
[1.3.0]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.2.0...1.3.0
[1.2.1]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.2.0...1.2.1
[1.2.0]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.1.0...1.2.0
[1.1.0]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.0.2...1.1.0
[1.0.2]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.0.1...1.0.2
[1.0.1]: https://github.com/SIWECOS/HSHS-DOMXSS-Scanner/compare/1.0.0...1.0.1

112 changes: 112 additions & 0 deletions DOMXSS.de.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@

# DOMXSS

DOMXSS Scanner

## SINKS

### Headline

Überprüfung des JavaScript-Codes nach DOMXSS-Sinks

### Category

JavaScript

### Description

Es wurde mindestens eine Codestelle beim Scan Ihrer Webseite gefunden, der unter bestimmten Voraussetzungen auf eine DOM-basierende [[Cross-Site Scripting|Cross-Site Scripting-Anfälligkeit]] hindeutet. Diese Stelle kann eine Schwachstelle auf Ihrer Webseite darstellen.

### Background

[[Cross-Site Scripting]] stellt eine Möglichkeit dar, den HTML-Code auf Ihrer Webseite zu manipulieren und zu infiltrieren. Es ermöglicht einem Angreifer, Skripte indirekt an den [[Browser]] Ihres Webseiten-Besuchers zu senden und damit Schadcode auf der Seite des Besuchers auszuführen.

### Consequence

[[Cross-Site Scripting]] ermöglicht es Kriminellen auf Ihrer Webseite Schadcode zu hinterlegen. Dieser Code kann Ihre Besucher oder Kunden infizieren und so möglicherweise massiven Schaden anrichten, z. B. wenn der Schadcode zur Installation eines [[Ransomware|Erpressungstrojaners]] in dessen Unternehmensnetzwerk führt. In diesem Fall könnten Sie für den Schaden haftbar gemacht werden. IT-Sicherheitsunternehmen könnten Sie in den Index von gefährlichen Webseiten aufnehmen und so Dritten den Zugriff auf Ihre Webseite aus Sicherheitsgründen verweigern. Die Information, dass Ihre Webseite Schadsoftware enthält/enthielt, ist auch viele Jahre nach dem Entfernen des Schadcodes bei Internet-Suchmaschinen ersichtlich. Eine Listung auf solch einer Blacklist kann zudem dazu führen, dass Sie auch keine [[Email|E-Mails]] mehr empfangen oder senden können, da Ihr gesamtes Netzwerk und die [[IP]] als Gefährdung anderer eingestuft wird.

### Solution_Tips

Wenn unsicherer JavaScript-Code gemeldet wird, ist die [[Webanwendung]] eventuell anfällig für sog. [[DOMXSS-Sinks|DOMXSS]]-Angriffe.
Das Ergebnis der Untersuchung kann nur als Hinweis auf Sicherheitslücken verwendet werden. Weitere Tests sind erforderlich, um die [[Schwachstellen|Schwachstellen]] auf der Webseite zu bestätigen.

### Link

DOMXSS-Schwachstelle

### Negative

Unsicheren [[JavaScript]]-Code verwendet [[DOMXSS-Sinks]].

### Positive

Automatisiert wurden keine unsicheren Codebestandteile für [[DOMXSS-Sinks]] erkannt.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

## SOURCES

### Headline

Überprüfung des JavaScript-Codes nach DOMXSS-Sources

### Category

JavaScript

### Description

Bei der Überprüfung wurde mindestens eine [[Schwachstellen|Schwachstelle]] auf der Webseite gefunden, die von einer externen, möglicherweise nicht vertrauenswürdigen Quelle gesteuert werden könnte.

### Background

Durch das Laden von Dateien und Codes aus unsicheren bzw. externen Quelle entsteht für Ihre Webseite eine potentielle Sicherheitslücke. Ein Angreifer, der die externe Quelle kontrolliert, könnte einen Schadcode hochladen, der dann auf Ihrer Seite ausgeführt werden kann.

### Consequence

[[Cross-Site Scripting]] ermöglicht es Kriminellen auf Ihrer Webseite Schadcode zu hinterlegen. Dieser Code kann Ihre Besucher oder Kunden infizieren und so möglicherweise massiven Schaden anrichten, z. B. wenn der Schadcode zur Installation eines [[Ransomware|Erpressungstrojaners]] in dessen Unternehmensnetzwerk führt. In diesem Fall könnten Sie für den Schaden haftbar gemacht werden. IT-Sicherheitsunternehmen könnten Sie in den Index von gefährlichen Webseiten aufnehmen und so Dritten den Zugriff auf Ihre Webseite aus Sicherheitsgründen verweigern. Die Information, dass Ihre Webseite Schadsoftware enthält/enthielt, ist auch viele Jahre nach dem Entfernen des Schadcodes bei Internet-Suchmaschinen ersichtlich. Eine Listung auf solch einer Blacklist kann zudem dazu führen, dass Sie auch keine [[Email|E-Mails]] mehr empfangen oder senden können, da Ihr gesamtes Netzwerk und die [[IP]] als Gefährdung anderer eingestuft wird.

### Solution_Tips

Wenn unsicherer JavaScript-Code gemeldet wird, ist die [[Webanwendung]] eventuell anfällig für sog. [[DOMXSS-Sinks|DOMXSS]]-Angriffe.
Das Ergebnis der Untersuchung kann nur als Hinweis auf Sicherheitslücken verwendet werden. Weitere Tests sind erforderlich, um die [[Schwachstellen|Schwachstellen]] auf der Webseite zu bestätigen.

### Link

Schadcode-Ueber-Fremde-Quellen

### Negative

Unsicheren [[JavaScript]]-Code verwendet (Sources).

### Positive

Automatisiert wurden keine unsicheren Codebestandteile für [[DOMXSS-Sources]] erkannt.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

## _RESULTS

### NO_CONTENT

Auf der Seite wurde kein Inhalt gefunden.

### NO_SCRIPT_TAGS

Der Scanner hat keine Skript-Inhalte zum Bewerten gefunden.

### NO_SINKS_FOUND

Es wurden keine „[[DOMXSS-Sinks]]“ gefunden.

### NO_SOURCES_FOUND

Es wurden keine „[[DOMXSS-Sources]]“ gefunden.

### SINKS_FOUND

Es wurden „[[DOMXSS-Sinks]]“ gefunden.

### SOURCES_FOUND

Es wurden „[[DOMXSS-Sources]]“ gefunden.
Loading