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

Release 1.5.10 #293

Merged
merged 158 commits into from
Jan 2, 2025
Merged

Release 1.5.10 #293

merged 158 commits into from
Jan 2, 2025

Conversation

skadefro
Copy link
Contributor

@skadefro skadefro commented Jan 2, 2025

No description provided.

Copy link

gitguardian bot commented Jan 2, 2025

⚠️ GitGuardian has uncovered 4 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard.
Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
493645 Triggered Generic High Entropy Secret c02212e test/docker-compose.yml View secret
431268 Triggered Generic Private Key 47a8be7 openflow.env View secret
5877162 Triggered Generic High Entropy Secret 602e0ec OpenFlow/src/OAuthProvider.ts View secret
493644 Triggered Generic Private Key c02212e test/docker-compose.yml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

}
throw new Error("Empty token is not valid");
}
if (jwt.indexOf(" ") > 1 && (jwt.toLowerCase().startsWith("bearer") || jwt.toLowerCase().startsWith("jwt"))) {

Check failure

Code scanning / CodeQL

Type confusion through parameter tampering Critical

Potential type confusion as
this HTTP request parameter
may be either an array or a string.
if (jwt.indexOf(" ") > 1 && (jwt.toLowerCase().startsWith("bearer") || jwt.toLowerCase().startsWith("jwt"))) {
const token = jwt.split(" ")[1].toString();
jwt = token;
} else if(jwt.indexOf(" ") > 1 && jwt.toLowerCase().startsWith("basic")) {

Check failure

Code scanning / CodeQL

Type confusion through parameter tampering Critical

Potential type confusion as
this HTTP request parameter
may be either an array or a string.
// Valid SAML token ?
if (tuser == null && user == null) {
try {
if (jwt.indexOf("saml") > 0) { // <saml2:Assertion

Check failure

Code scanning / CodeQL

Type confusion through parameter tampering Critical

Potential type confusion as
this HTTP request parameter
may be either an array or a string.
app.post("/AddTokenRequest", LoginProvider.post_AddTokenRequest.bind(this));
app.get("/GetTokenRequest", LoginProvider.get_GetTokenRequest.bind(this));
app.get("/login", LoginProvider.get_login.bind(this));
app.get("/login/*", LoginProvider.get_login2.bind(this));

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
app.post("/AddTokenRequest", LoginProvider.post_AddTokenRequest.bind(this));
app.get("/GetTokenRequest", LoginProvider.get_GetTokenRequest.bind(this));
app.get("/login", LoginProvider.get_login.bind(this));
app.get("/login/*", LoginProvider.get_login2.bind(this));
app.get("/Login", LoginProvider.get_login.bind(this));

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
app.get("/login/*", LoginProvider.get_login2.bind(this));
app.get("/Login", LoginProvider.get_login.bind(this));
app.get("/Login/*", LoginProvider.get_login2.bind(this));
app.get("/auth/signinwin/main", LoginProvider.get_login3.bind(this));

Check failure

Code scanning / CodeQL

Missing rate limiting High

This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
This route handler performs
a file system access
, but is not rate-limited.
Logger.instanse.debug("return PassiveLogin.html", span, {cls: "LoginProvider", func: "getlogin"});
const localfile = path.join(__dirname, 'public', requestedfile);
const webappfile = path.join(WebServer.webapp_file_path, requestedfile);
if(fs.existsSync(webappfile)) {

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression High

This path depends on a
user-provided value
.
const webappfile = path.join(WebServer.webapp_file_path, requestedfile);
if(fs.existsSync(webappfile)) {
// console.log("serve webapp " + webappfile);
res.sendFile(webappfile);

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression High

This path depends on a
user-provided value
.
if(fs.existsSync(webappfile)) {
// console.log("serve webapp " + webappfile);
res.sendFile(webappfile);
} else if(fs.existsSync(localfile)) {

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression High

This path depends on a
user-provided value
.
res.sendFile(webappfile);
} else if(fs.existsSync(localfile)) {
// console.log("serve file " + localfile);
res.sendFile(localfile);

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression High

This path depends on a
user-provided value
.
@skadefro skadefro merged commit 79ac098 into open-rpa:master Jan 2, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant