Skip to main content
Engineering LibreTexts

8.1.1.5: Unvalidated URLs/redirects:

  • Page ID
    89760
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Many blogging and social media websites, allow the users to post (embed) the URLs without any proper validation (whether the URLs are listed in the blacklists or not). This vulnerability leads to many social engineering and forgery attacks where the attackers redirect the users to his or her crafted site from a legitimate web application. Figure 8.5 presents an example of the malicious URL set up by the attacker.

     

    Screen Shot 2022-10-25 at 11.25.03 AM.png

     

    Figure \(\PageIndex{1}\):

    Malicious website crafted by the attacker

     ("Information Security" by Umar Khokhar Binh Tran is licensed under CC BY 4.0)

    8.1.1.5: Unvalidated URLs/redirects: is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?