Minecraft PC IP: play.cubecraft.net

Rifyy

Well-Known Member
Aug 19, 2019
95
334
104
If you embed an image you can edit the style attribute and set the width to whatever you like. there is still a wrapper element for the displayed image so you cant make it bigger than default but you can make it smaller

upload_2020-5-16_23-46-53.png


I inserted the image element manually with element inspect too, might make a difference

I doubt this is the only XSS vulnerability, all events seem to be blocked by cloudflare (onclick etc) tho its not a very user friendly error

If I find more XSS vulns I'll post them here instead of making more threads if thats cool
 

Zed

Zedmin / Managing Director
Team CubeCraft
💙 Admin Team
Jul 11, 2015
248
2,922
268
Radcliffe, Manchester
twitter.com
This is just the bbcode attributes right?

I think this is intended behaviour (ie being able to control width) - Xenforo will strip out any disallowed attributes.

Bug is that you can cause statuses to overflow with this which isn't ideal.
 

Rifyy

Well-Known Member
Aug 19, 2019
95
334
104
This is just the bbcode attributes right?
I dont know whether this is possible with BB codes, last time I really used BB codes is ~10 years ago when this certainly wasnt a thing you could usually do with them. I used element inspect and edited richt text editor input which is why I titled it XSS

Quick test to see whether its possible on the current forum too, never tested it here
iu


Source image is 1500px wide

Edit: doesnt seem to work here
 

Zed

Zedmin / Managing Director
Team CubeCraft
💙 Admin Team
Jul 11, 2015
248
2,922
268
Radcliffe, Manchester
twitter.com
I dont know whether this is possible with BB codes, last time I really used BB codes is ~10 years ago when this certainly wasnt a thing you could usually do with them. I used element inspect and edited richt text editor input which is why I titled it XSS

Quick test to see whether its possible on the current forum too, never tested it here
iu


Source image is 1500px wide

Edit: doesnt seem to work here
width / height are allowed editable elements in the new BB code so I think you're just mutating the values - any other adjustments won't come through. If you inspect the network traffic you should see that sanitised BB code is sent back to the server not HTML.
 

Rifyy

Well-Known Member
Aug 19, 2019
95
334
104
you should see that sanitised BB code is sent back to the server not HTML.
upload_2020-5-18_21-46-44.png

Sanitation doesn't seem to be working for me? Seeing the <p> text being sent to the server is what made me try messing around with image tags to begin with
 
Members Online

Team online

Latest profile posts

Mappoe wrote on JokeKaedee's profile.
thnak you for the follow kae!! have it back
New predictions based on the news we got this week:
- New Snowman Survival maps are most likely releasing sometime next week
- OG EggWars update is releasing in a couple of weeks according to Cam through Discord (screenshot below).
A couple of weeks is usually 2 weeks but sometimes can be 3 weeks.
1732356369106.png
Lxk5z wrote on NADER KANAAN's profile.
Happy Birthday pro gamer!!!
UncleSpect wrote on CalvinxKlein's profile.
Happy birthday!
NADER KANAAN wrote on jamesthesignificant's profile.
ty for the following !!!
Top Bottom