I have a text in body filed which gives XSS attack for following text "I messaged you about yesterday with the <5mm rectal carcinoid tumor that was found"
Here for <5mm it is giving XSS attack
if I learn and relax 5mm it is giving every word after 5mm XSS attack
It is not possible to relax each word.
Any better way to relax?
I tried following options which didn't work
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Tag 5mm -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute rectal -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute carcinoid -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute tumor -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute that -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute was -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Tag "%3C" -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Tag "<5mm" -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute "<5mm" -comment "Deployed from learned data"
Now I get error at found.
concerto/messaging/SendMessage Cross-site script check failed for field body="Bad attribute: found" <blocked>
Ideally I don't want to relax each word. Is there a better way to relax < ?
Question
Namitha
Hi,
I have a text in body filed which gives XSS attack for following text "I messaged you about yesterday with the <5mm rectal carcinoid tumor that was found"
Here for <5mm it is giving XSS attack
if I learn and relax 5mm it is giving every word after 5mm XSS attack
It is not possible to relax each word.
Any better way to relax?
I tried following options which didn't work
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Tag 5mm -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute rectal -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute carcinoid -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute tumor -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute that -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute was -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Tag "%3C" -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Tag "<5mm" -comment "Deployed from learned data"
bind appfw profile appfw_basic_htmlxml_testprofile -crossSiteScripting body "^https://xxx.domain.ca/messaging/sendmessage$" -valueType Attribute "<5mm" -comment "Deployed from learned data"
Now I get error at found.
concerto/messaging/SendMessage Cross-site script check failed for field body="Bad attribute: found" <blocked>
Ideally I don't want to relax each word. Is there a better way to relax < ?
Link to comment
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now