zoukankan      html  css  js  c++  java
  • 【实战】Location 302跳转 + CRLF 场景下的XSS

    SRC挖掘中碰到302挑战场景的CRLF,可利用ws://或者wss://这两个schema uri协议绕过location触发xss漏洞

    附url_schema,方便fuzz:

    aaa
    aaas
    about
    acap
    acct
    acd
    acr
    adiumxtra
    adt
    afp
    afs
    aim
    amss
    android
    appdata
    apt
    ark
    attachment
    aw
    barion
    beshare
    bitcoin
    bitcoincash
    blob
    bolo
    browserext
    cabal
    calculator
    callto
    cap
    cast
    casts
    chrome
    chrome-extension
    cid
    coap
    coap+tcp
    coap+ws
    coaps
    coaps+tcp
    coaps+ws
    com-eventbrite-attendee
    content
    conti
    crid
    cvs
    dab
    dat
    data
    dav
    diaspora
    dict
    did
    dis
    dlna-playcontainer
    dlna-playsingle
    dns
    dntp
    doi
    dpp
    drm
    drop
    dtmi
    dtn
    dvb
    dweb
    ed2k
    elsi
    ens
    ethereum
    example
    facetime
    fax
    feed
    feedready
    file
    filesystem
    finger
    first-run-pen-experience
    fish
    fm
    ftp
    fuchsia-pkg
    geo
    gg
    git
    gizmoproject
    go
    gopher
    graph
    gtalk
    h323
    ham
    hcap
    hcp
    http
    https
    hxxp
    hxxps
    hydrazone
    hyper
    iax
    icap
    icon
    im
    imap
    info
    iotdisco
    ipfs
    ipn
    ipns
    ipp
    ipps
    irc
    irc6
    ircs
    iris
    iris.beep
    iris.lwz
    iris.xpc
    iris.xpcs
    isostore
    itms
    jabber
    jar
    jms
    keyparc
    lastfm
    lbry
    ldap
    ldaps
    leaptofrogans
    lorawan
    lvlt
    magnet
    mailserver
    mailto
    maps
    market
    matrix
    message
    microsoft.windows.camera
    microsoft.windows.camera.multipicker
    microsoft.windows.camera.picker
    mid
    mms
    modem
    mongodb
    moz
    ms-access
    ms-browser-extension
    ms-calculator
    ms-drive-to
    ms-enrollment
    ms-excel
    ms-eyecontrolspeech
    ms-gamebarservices
    ms-gamingoverlay
    ms-getoffice
    ms-help
    ms-infopath
    ms-inputapp
    ms-lockscreencomponent-config
    ms-media-stream-id
    ms-mixedrealitycapture
    ms-mobileplans
    ms-officeapp
    ms-people
    ms-project
    ms-powerpoint
    ms-publisher
    ms-restoretabcompanion
    ms-screenclip
    ms-screensketch
    ms-search
    ms-search-repair
    ms-secondary-screen-controller
    ms-secondary-screen-setup
    ms-settings
    ms-settings-airplanemode
    ms-settings-bluetooth
    ms-settings-camera
    ms-settings-cellular
    ms-settings-cloudstorage
    ms-settings-connectabledevices
    ms-settings-displays-topology
    ms-settings-emailandaccounts
    ms-settings-language
    ms-settings-location
    ms-settings-lock
    ms-settings-nfctransactions
    ms-settings-notifications
    ms-settings-power
    ms-settings-privacy
    ms-settings-proximity
    ms-settings-screenrotation
    ms-settings-wifi
    ms-settings-workplace
    ms-spd
    ms-sttoverlay
    ms-transit-to
    ms-useractivityset
    ms-virtualtouchpad
    ms-visio
    ms-walk-to
    ms-whiteboard
    ms-whiteboard-cmd
    ms-word
    msnim
    msrp
    msrps
    mss
    mtqp
    mumble
    mupdate
    mvn
    news
    nfs
    ni
    nih
    nntp
    notes
    num
    ocf
    oid
    onenote
    onenote-cmd
    opaquelocktoken
    openpgp4fpr
    otpauth
    pack
    palm
    paparazzi
    payment
    payto
    pkcs11
    platform
    pop
    pres
    prospero
    proxy
    pwid
    psyc
    pttp
    qb
    query
    quic-transport
    redis
    rediss
    reload
    res
    resource
    rmi
    rsync
    rtmfp
    rtmp
    rtsp
    rtsps
    rtspu
    secondlife
    secret-token
    service
    session
    sftp
    sgn
    shttp
    sieve
    simpleledger
    sip
    sips
    skype
    smb
    sms
    smtp
    snews
    snmp
    soap.beep
    soap.beeps
    soldat
    spiffe
    spotify
    ssb
    ssh
    steam
    stun
    stuns
    submit
    swh
    svn
    tag
    teamspeak
    tel
    teliaeid
    telnet
    tftp
    things
    thismessage
    tip
    tn3270
    tool
    turn
    turns
    tv
    udp
    unreal
    upt
    urn
    ut2004
    v-event
    vemmi
    ventrilo
    videotex
    vnc
    view-source
    vscode
    vscode-insiders
    vsls
    wais
    webcal
    wifi
    wpid
    ws
    wss
    wtai
    wyciwyg
    xcon
    xcon-userid
    xfire
    xmlrpc.beep
    xmlrpc.beeps
    xmpp
    xri
    ymsgr
    z39.50
    z39.50r
    z39.50s

    参考https://www.gremwell.com/firefox-xss-302

  • 相关阅读:
    创业第一步:为员工打工
    C#笔记30:Trace、Debug和TraceSource的使用以及日志设计
    C#笔记29:程序集、应用程序配置及App.config和YourSoft.exe.config
    WPF快速指导1:资源
    并行编程之数据并行
    异常处理之ThreadException、unhandledException及多线程异常处理
    Efficient C#:为什么要把泛型作为返回值
    C#笔记31:本地化或多语言支持
    C#数据本地存储方案之SQLite
    C#笔记9:异常
  • 原文地址:https://www.cnblogs.com/peterpan0707007/p/14662216.html
Copyright © 2011-2022 走看看