8000 Fix some broken links of owasp's top 10 project. by songzy12 · Pull Request #374 · digininja/DVWA · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix some broken links of owasp's top 10 project. #374

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

Merged

Conversation

songzy12
Copy link
Contributor
@songzy12 songzy12 commented Aug 2, 2020

Some of the current url links for OWASP's top 10 project are broken.

This pull request fixes them to be the current avaliable corresponding pdf pages.

@digininja
Copy link
Owner
digininja commented Aug 2, 2020 via email

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 3, 2020

Do you mean a more up-to-date reference for the file inclusion vulnarability?

I searched for "file inclusion site:owasp.org", the most proper pages seem to be:

If we also want the constraint of owasp's "top 10 project", the following one is somehow relevant but not exactly matched:

@digininja
Copy link
Owner

For file inclusion, yes, go with the two you mention, they are the up-to-date OWASP guides. If you could also include a working link to the Top Ten that had file inclusion in, that would be good, just for historic reference.

I'd drop the links into PDFs, stick to standard web pages if you can, they are more accessible.

For the weak ID, can you find something similarly modern?

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 3, 2020

For weak session id, I did a quick search and found this on owasp:

Do you think it is suitable?

@digininja
Copy link
Owner
digininja commented Aug 3, 2020 via email

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 3, 2020

@digininja
Copy link
Owner
digininja commented Aug 3, 2020 via email

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 3, 2020

Sure. Thanks for your quick response!

I will update the pull request with the above links later. ^_^

@digininja
Copy link
Owner
digininja commented Aug 3, 2020 via email

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 3, 2020

For multiple references in one help.php file, I searched in the current code base and found this:

https://github.com/ethicalhack3r/DVWA/blob/30741c892d47030dbdda658e6bb4d240a287d3dd/vulnerabilities/csp/help/help.php#L49-L51

Not sure whether this is the right routine to follow.

@digininja
Copy link
Owner
digininja commented Aug 3, 2020 via email

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 3, 2020

It now looks like:
2020-08-03

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 3, 2020

The current pull request is ready for review.

With a quick search, I found some other broken owasp links where the challenges I have not practiced.
Maybe I could send some other pull requests in the future.

@digininja
Copy link
Owner
digininja commented Aug 3, 2020 via email

@digininja
Copy link
Owner
digininja commented Aug 3, 2020 via email

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 3, 2020

ah, that screenshot is about the new code and the above reference is about some exisitng code.

For the existing code, the corresponding screenshot is like:
2020-08-03

@digininja
Copy link
Owner

That is correct, we show the link text not the link. As long as yours matches that it will be good.

@songzy12 songzy12 force-pushed the broken-url-fix-owasp-top-10 branch from 0da9e07 to bcd0d3f Compare 8000 August 4, 2020 14:25
@songzy12
Copy link
Contributor Author
songzy12 commented Aug 4, 2020

Update: link text is added for the changed links.

@digininja
Copy link
Owner
digininja commented Aug 4, 2020 via email

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 4, 2020

Sure. I think it is done and ready for review for this PR now. Thanks!

@digininja
Copy link
Owner
digininja commented Aug 4, 2020 via email

@@ -58,6 +58,7 @@

<br />

<p>Reference: <?php echo dvwaExternalLinkUrlGet( 'https://www.owasp.org/index.php/Top_10_2007-A3' ); ?></p>
<p>Reference: <?php echo dvwaExternalLinkUrlGet( 'https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/07-Input_Validation_Testing/11.1-Testing_for_Local_File_Inclusion', 'WSTG - Local File Inclusion' ); ?></p>
Copy link
Owner

Choose a reason for hiding this comment

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

Looks good and works

<ul>
<li>" . dvwaExternalLinkUrlGet( 'https://en.wikipedia.org/wiki/Remote_File_Inclusion' ) . "</li>
<li>" . dvwaExternalLinkUrlGet( 'https://www.owasp.org/index.php/Top_10_2007-A3' ) . "</li>
<li>" . dvwaExternalLinkUrlGet( 'https://en.wikipedia.org/wiki/Remote_File_Inclusion', 'Wikipedia - File inclusion vulnerability' ) . "</li>
Copy link
Owner

Choose a reason for hiding this comment

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

Can you add this link to the help.php as well. May as well give all references in all places.

@@ -11,10 +11,11 @@
[<em><a href=\"?page=include.php\">back</a></em>]
</div>

<h2>More info</h2>
<h2>More Information</h2>
Copy link
Owner

Choose a reason for hiding this comment

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

All good

@@ -9,10 +9,11 @@
\"<em>I needed a password eight characters long so I picked Snow White and the Seven Dwarves.</em>\" ~ Nick Helm<br /><br />
[<em><a href=\"?page=include.php\">back</a></em>] </div>

<h2>More info</h2>
<h2>More Information</h2>
Copy link
Owner

Choose a reason for hiding this comment

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

All good

@@ -22,8 +22,9 @@

<h2>More Information</h2>
<ul>
<li>" . dvwaExternalLinkUrlGet( 'https://en.wikipedia.org/wiki/Remote_File_Inclusion' ) . "</li>
<li>" . dvwaExternalLinkUrlGet( 'https://www.owasp.org/index.php/Top_10_2007-A3' ) . "</li>
<li>" . dvwaExternalLinkUrlGet( 'https://en.wikipedia.org/wiki/Remote_File_Inclusion', 'Wikipedia - File inclusion vulnerability' ) . "</li>
Copy link
Owner

Choose a reason for hiding this comment

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

All good

@@ -35,5 +35,6 @@

</div>

<p>Reference: <?php echo dvwaExternalLinkUrlGet( 'https://www.owasp.org/index.php/Top_10_2013-A2-Broken_Authentication_and_Session_Management' ); ?></p>
<p>Reference: <?php echo dvwaExternalLinkUrlGet( 'https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/06-Session_Management_Testing/01-Testing_for_Session_Management_Schema', 'WSTG - Session Management Schema' ); ?></p>
Copy link
Owner

Choose a reason for hiding this comment

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

Looks good

@digininja
Copy link
Owner

All looks good.

I think add the one extra FI help that is on the main page to the help page and that should be it.

@songzy12
Copy link
Contributor Author
songzy12 commented Aug 5, 2020

Ack. Done.

@ethicalhack3r ethicalhack3r merged commit 827fdd0 into digininja:master Aug 5, 2020
@songzy12 songzy12 deleted the broken-url-fix-owasp-top-10 branch August 10, 2020 12:57
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
…op-10

Fix some broken links of owasp's top 10 project.
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
…op-10

Fix some broken links of owasp's top 10 project.
noe-orga-NTT pushed a commit to noe-orga-NTT/DVWA that referenced this pull request May 30, 2025
…op-10

Fix some broken links of owasp's top 10 project.
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.

3 participants
0