Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify rule S6377: Change text to education framework format (APPSEC-1110) #3164

Merged
merged 4 commits into from
Sep 29, 2023

Conversation

sebastien-andrivet-sonarsource
Copy link
Contributor

Review

A dedicated reviewer checked the rule description successfully for:

  • logical errors and incorrect information
  • information gaps and missing content
  • text style and tone
  • PR summary and labels follow the guidelines

Copy link
Contributor

@gaetan-ferry-sonarsource gaetan-ferry-sonarsource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general, with some wording improvement suggestions. You will probably want to restore some deleted pieces of metadata.

rules/S6377/java/metadata.json Outdated Show resolved Hide resolved
== Why is this an issue?

include::../description.adoc[]
Before Java 17, XML Digital Signature API does not apply restrictions on XML signature validation, unless the application runs with a security manager which is rare. This can have several consequences:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here the "What is the potential impact" is missing. This sentence should also be split to separate the "Why is this an issue" from the "What is the issue impact" part AKA:

  1. The application might improperly validate the XML signature
  2. The message will be trusted while actually forged by an attacker, into Auth bypass, etc.

rules/S6377/java/rule.adoc Outdated Show resolved Hide resolved
rules/S6377/java/rule.adoc Outdated Show resolved Hide resolved
rules/S6377/java/rule.adoc Outdated Show resolved Hide resolved
rules/S6377/java/rule.adoc Outdated Show resolved Hide resolved
rules/S6377/java/rule.adoc Outdated Show resolved Hide resolved
@sonarqube-next
Copy link

SonarQube Quality Gate for 'rspec-frontend'

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarqube-next
Copy link

SonarQube Quality Gate for 'rspec-tools'

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sebastien-andrivet-sonarsource sebastien-andrivet-sonarsource merged commit 6a11e47 into master Sep 29, 2023
9 checks passed
@sebastien-andrivet-sonarsource sebastien-andrivet-sonarsource deleted the andrivet/S6377-LaYC branch September 29, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants