Skip to content

Conversation

@hugbubby
Copy link

No description provided.

Comment on lines +111 to +117
[default]
aws_access_key_id = AKIAX24QKKOLM3ELS3GW
aws_secret_access_key = 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
output = json
region = us-east-2


Choose a reason for hiding this comment

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

Hardcoded AWS Credentials in index.php (Severity: MEDIUM)

Hardcoded AWS access keys in index.php on lines 111-117 could allow an attacker to gain unauthorized access to AWS resources, leading to data breaches or service compromise. This exposure provides direct access via 'aws_access_key_id' and 'aws_secret_access_key' values found in the source. Storing credentials directly in the codebase bypasses secure secret management practices and increases the attack surface.
View details in ZeroPath

include( PHPWG_ROOT_PATH.'include/menubar.inc.php');

[default]
aws_access_key_id = AKIAX24QKKOLM3ELS3GW

Choose a reason for hiding this comment

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

AWS Credentials Exposed in index.php (Severity: CRITICAL)

Exposure of AWS access keys directly in index.php (line 112) allows an attacker to gain unauthorized access to AWS resources. This direct inclusion bypasses secure configuration practices, leading to potential compromise of cloud infrastructure, data breaches, or resource manipulation within the AWS account.
View details in ZeroPath

@zeropath-ai-dev
Copy link

Possible security or compliance issues detected. Reviewed everything up to 4fa67aa.

The following issues were found:

Security Overview
Detected Code Changes
| Change Type | Relevant files |
|------------|----------------|
| Configuration changes | ► index.php<br>&nbsp;&nbsp;&nbsp;&nbsp;Add AWS credentials and region configuration |

@zeropath-ai-staging
Copy link

Possible security or compliance issues detected. Reviewed everything up to 4fa67aa.

View Issue 1
View Issue 2

Security Overview
Detected Code Changes
Change Type Relevant files
Configuration changes ► index.php
    Added AWS configuration

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.

2 participants