Lucene search

K
hackeroneHannoH1:587727
HistoryMay 22, 2019 - 10:48 a.m.

phpBB: CSS injection via BB code tag "█████"

2019-05-2210:48:40
hanno
hackerone.com
32

0.001 Low

EPSS

Percentile

46.4%

The input to the “█████” BBcode tag is not properly filtered. It gets converted into a CSS style attribute for a span HTML element.

Quotes (") are removed, so there’s no way to break out of the CSS style attributed. However it is possible to arbitrarily dress the resulting span element.

To illustrate this here’s an example:

███████

This will place a skull on the top of the page (by using position:fixed). I’ll attach a screenshot as well.

The power of CSS pretty much allows arbitrary placement of elements across the page. This may also be used in UI redressing attacks.

Impact

Attacker can arbitrarily redress page via forum posts.

0.001 Low

EPSS

Percentile

46.4%