Comments (7)
I stand corrected then!
Will fix this :)
from drupalgeddon2.
Closing this issue because before me someone else created an issue for the same bug.
from drupalgeddon2.
Reopening the issue because the other earlier issue for the same bug is now closed by the user.
from drupalgeddon2.
405 Method Not Allowed
Guessing there is a WAF or some type of protection on the target.
The PoC isn't designed to bypass them out of the box (nor will it ever be). You will need to enum and tweak it to match the environment.
There are places in the script todo so (can't say which as it depends on the target's setup!)
from drupalgeddon2.
Hi @g0tmi1k
I don't think there is some type of WAF blocking that because I have tried drupalgeddon2.rb
on https://[REDACTED].com/ and it failed to to retrieve https://[REDACTED].com/CHANGELOG.txt
but then I have tried to retrive the same file with Python Requests and it worked. Below is the output of it:
$ python
Python 2.7.12 (default, Dec 4 2017, 14:50:18)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import requests
r = requests.get("https://[REDACTED].com/CHANGELOG.txt")
print r
<Response [200]>
r.text
u'\nDrupal 7.31, 2014-08-06\ [......................................................................................................................
from drupalgeddon2.
@0xQwip If thats the case, the its def a WAF ;)
The only thing I will say on the matter, pipe the requests though a proxy and see what is different between the two. Because there is one key thing (cough user-agent* cough).
from drupalgeddon2.
@g0tmi1k, 😂 I can confirm it is not a WAF.
I have piped the requests through Burp and the request to https://[REDACTED].com/CHANGELOG.txt
and also to ~/core/CHANGELOG.txt
~/includes/bootstrap.inc
/core/includes/bootstrap.inc
are POST
requests (https://imgur.com/rtUgk99) and that is the reason it is failing to retrieve the respective files. When I changed it to GET
in Burp it worked fine without changing anything else (not even user-agent 😉 ). (https://imgur.com/vQv8d1Q)
from drupalgeddon2.
Related Issues (20)
- False Positive: can't execute the commands through shell HOT 3
- Strange behavior with Drupal 7.34 HOT 4
- disabled PHP function? HOT 1
- Drupal 7.37 (form_id and form_build_id) HOT 2
- Drupal v8.x detected as v6.x? HOT 1
- Adapt to drupal 6 HOT 1
- Can not detect Drupal version cause it stops iterating when one of the possible URLs gets a 200 response HOT 2
- Feature Request: Control verbosity via Command-Line Argument HOT 2
- Feature Request: Support for Session-Cookie Form and POST-based Authentication HOT 2
- error when running HOT 4
- using the user/login instead user/password? HOT 2
- error HOT 1
- Not working for me :( please help!! HOT 3
- drupalgeddon2 options for insecure https HOT 1
- Target is not exploitabe HOT 1
- Drupal v7.54
- Help in determining injection path
- ModuleNotFoundError: No module named 'colorclass' HOT 1
- Connection reset by peer
- Connection reset by peer (Errno::ECONNRESET
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupalgeddon2.