Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aws_amazon
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
aws_amazon
Commits
9377a267
Commit
9377a267
authored
Jan 28, 2015
by
Sudhir Krishna S
Browse files
Options
Downloads
Patches
Plain Diff
Access bypass vulnerability
parent
330fc68b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
aws_amazon.module
+2
-1
2 additions, 1 deletion
aws_amazon.module
with
2 additions
and
1 deletion
aws_amazon.module
+
2
−
1
View file @
9377a267
...
...
@@ -76,8 +76,9 @@ function aws_amazon_menu() {
'type'
=>
MENU_CALLBACK
,
);
global
$base_url
;
//generate a unique URL per site that cannot be faked.
$token
=
hash
(
'sha1'
,
$base_url
.
variable_get
(
'aws_amazon_access_key'
,
''
));
$token
=
hash
(
'sha1'
,
$base_url
.
drupal_get_hash_salt
()
.
variable_get
(
'aws_amazon_access_key'
,
drupal_get_hash_salt
()
));
$items
[
'aws-amazon-cron/'
.
$token
]
=
array
(
'type'
=>
MENU_CALLBACK
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment